pipewire/spa/plugins/bluez5
Pauli Virtanen ca18b8b733 bluez5: endpoint can be used only by one device at a time
AVDTP (v1.3 Sec 5.3) has a limitation that a local SEP (on the same
adapter) can be connected to at most one remote SEP. Trying to do have
it connected to multiple remotes either fails or causes misbehavior
later on.

Skip SetConfigure the same local endpoint for multiple remote ones in
codec switch. BlueZ observes this restriction in SelectConfiguration,
so also it won't try to do invalid configurations.

In BlueZ 5.64, the SetConfiguration calls succeed, but subsequent
transport acquires will fail. (Likely already the SetConfiguration DBus
call should fail.)

This all has the consequence, with the current approach to the
codec=endpoint correspondence, that if multiple devices are connected to
the same adapter, they currently have to use different codecs.
2022-05-30 07:35:54 +00:00
..
a2dp-codec-aac.c bluez5: allow codecs to produce multiple packets from same data 2022-04-30 23:43:10 +03:00
a2dp-codec-aptx.c bluez5: allow codecs to produce multiple packets from same data 2022-04-30 23:43:10 +03:00
a2dp-codec-caps.h bluez5: add LC3plus A2DP vendor codec caps 2022-05-01 00:27:05 +03:00
a2dp-codec-faststream.c bluez5: allow codecs to produce multiple packets from same data 2022-04-30 23:43:10 +03:00
a2dp-codec-lc3plus.c bluez5: use lc3plus.h instead of lc3.h 2022-05-03 00:29:47 +03:00
a2dp-codec-ldac.c bluez5: allow codecs to produce multiple packets from same data 2022-04-30 23:43:10 +03:00
a2dp-codec-sbc.c bluez5: allow codecs to produce multiple packets from same data 2022-04-30 23:43:10 +03:00
a2dp-codecs.c bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
a2dp-codecs.h bluez5: allow codecs to produce multiple packets from same data 2022-04-30 23:43:10 +03:00
a2dp-sink.c bluez5: allow codecs to produce multiple packets from same data 2022-04-30 23:43:10 +03:00
a2dp-source.c bluez5: use bigger decode buffer in a2dp-source 2022-05-01 00:27:05 +03:00
backend-hsphfpd.c bluez5: require adapter before profile connect & after 2022-01-20 18:18:09 +00:00
backend-native.c spa: bluez: ignore unsupported indicators 2022-05-10 12:09:18 +02:00
backend-ofono.c bluez5: backend-ofono: don't do codec probe connections + add wait 2022-03-05 17:46:40 +00:00
bluez-hardware.conf Update spa/plugins/bluez5/bluez-hardware.conf 2022-04-23 19:53:24 +00:00
bluez5-dbus.c bluez5: endpoint can be used only by one device at a time 2022-05-30 07:35:54 +00:00
bluez5-device.c bluez5: clear codec switch flag on device connnection change 2022-04-25 21:28:39 +03:00
codec-loader.c bluez5: add LC3plus A2DP vendor codec 2022-05-01 15:09:00 +03:00
codec-loader.h bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
defs.h bluez5: endpoint can be used only by one device at a time 2022-05-30 07:35:54 +00:00
hci.c bluez5: probe adapter msbc capability via hci commands 2022-01-30 22:00:32 +02:00
meson.build bluez5: use lc3plus.h instead of lc3.h 2022-05-03 00:29:47 +03:00
player.c bluez5: free player path 2022-01-03 10:41:00 +01:00
player.h bluez5: add a dummy AVRCP player as a workaround 2021-10-10 16:24:41 +03:00
plugin.c monitor: remove monitor API and use device 2019-09-20 13:04:14 +02:00
quirks.c SPA_DATA_DIR is the source root when uninstalled 2022-03-18 21:33:02 +01:00
README-SBC-XQ.md bluez5: add SBC XQ readme 2021-01-07 09:54:16 +01:00
rtp.h Add bluez5 plugins 2018-01-16 15:19:55 +01:00
sco-io.c bluez5: sco-io: start writing only after the packet size is known 2021-07-11 16:14:03 +00:00
sco-sink.c spa: Improve PropInfo fields 2022-03-30 17:09:08 +02:00
sco-source.c spa: Improve PropInfo fields 2022-03-30 17:09:08 +02:00