Skip to content

Add transport.select method

Vlad Pruteanu linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3transport: Add "select" methodprofiles/audio/transport.c+24 -01 reply
2/3client/player: Expose transport "select" method to the userclient/player.c+52 -00 replies
3/3transport: Broadcast sink: wait for user to select transportprofiles/audio/transport.c+1 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 0/3] Add transport.select method

This series adds a new "select" method that can be called by the user on the broadcast sink side, to select the stream for which synchronization is desired. This is achieved by changing the states flow so that transport are not set to pending automatically anymore. Instead, the transport must first be selected by the user, which will update it's state from idle to pending. Any pending transport will be acquired by PipeWire.

Furthermore, this method will be used for setting the broadcast code of a stream on the sink side. If the encryption flag is set, the transport.select call in bluetoothctl will prompt the user to enter the code

Vlad Pruteanu (3):
transport: Add "select" method
client/player: Expose transport "select" method to the user
transport: Broadcast sink: wait for user to select transport

 client/player.c            | 52 ++++++++++++++++++++++++++++++++++++++
 profiles/audio/transport.c | 29 ++++++++++++++++++---
 2 files changed, 77 insertions(+), 4 deletions(-)
Signature · 1 line
2.40.1