pipewire/spa
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
..
examples treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00
include libcamera: add camera location property on nodes 2022-05-26 10:41:02 +00:00
plugins bluez5: endpoint can be used only by one device at a time 2022-05-30 07:35:54 +00:00
tests Fix build on recent FreeBSD 13-STABLE 2022-01-26 14:37:19 +03:00
tools json: spa_json_get_string() writes up to len chars or fail 2022-01-04 10:42:32 +01:00
meson.build bluez5: use lc3plus.h instead of lc3.h 2022-05-03 00:29:47 +03:00