mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 03:08:13 +02:00
scripts: bluez: Autoconnect bap-sink stream on peripheral/acceptor
This commit is contained in:
parent
57518ed2ce
commit
591f2e77e9
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ function createNode(parent, id, type, factory, properties)
|
|||
|
||||
-- autoconnect if it's a stream
|
||||
if properties["api.bluez5.profile"] == "headset-audio-gateway" or
|
||||
properties["api.bluez5.profile"] == "bap-sink" or
|
||||
factory:find("a2dp.source") or factory:find("media.source") then
|
||||
properties["node.autoconnect"] = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue