mbox series

[BlueZ,0/4] Add 'broadcasting' state

Message ID 20240724143425.165959-1-vlad.pruteanu@nxp.com (mailing list archive)
Headers show
Series Add 'broadcasting' state | expand

Message

Vlad Pruteanu July 24, 2024, 2:34 p.m. UTC
This series adds a new 'broadcasting' state for transports created by
the Broadcast Sink device as a result of scanning a Broadcast Source.
Such transports will remain  in the 'idle' state until the user
selects them, at which point they will be moved to 'broadcasting'.
PipeWire detects these transports and automatically acquires them.

The transport selection is done using the 'transport.select' method,
that this series implements. The user can thus select the BIS that
he wishes to sync to.

A PR has also been opened for PipeWire, I added Pauli to CC so that
he is also aware of this change.


Vlad Pruteanu (4):
  transport: Add 'broadcasting' state
  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 | 50 ++++++++++++++++++++++++++++++------
 2 files changed, 94 insertions(+), 8 deletions(-)

Comments

Luiz Augusto von Dentz July 24, 2024, 6:26 p.m. UTC | #1
Hi Vlad,

On Wed, Jul 24, 2024 at 10:35 AM Vlad Pruteanu <vlad.pruteanu@nxp.com> wrote:
>
> This series adds a new 'broadcasting' state for transports created by
> the Broadcast Sink device as a result of scanning a Broadcast Source.
> Such transports will remain  in the 'idle' state until the user
> selects them, at which point they will be moved to 'broadcasting'.
> PipeWire detects these transports and automatically acquires them.
>
> The transport selection is done using the 'transport.select' method,
> that this series implements. The user can thus select the BIS that
> he wishes to sync to.
>
> A PR has also been opened for PipeWire, I added Pauli to CC so that
> he is also aware of this change.
>
>
> Vlad Pruteanu (4):
>   transport: Add 'broadcasting' state
>   transport: Add "select" method
>   client/player: Expose transport "select" method to the user
>   transport: Broadcast sink: wait for user to select transport

Where are the changes to org.bluez.MediaTransport.rst? That is the
sort of first thing you need to do to explain how it works, also it
shall probably be broadcast only I guess?

>  client/player.c            | 52 ++++++++++++++++++++++++++++++++++++++
>  profiles/audio/transport.c | 50 ++++++++++++++++++++++++++++++------
>  2 files changed, 94 insertions(+), 8 deletions(-)
>
> --
> 2.40.1
>
>