Skip to content

Bluetooth: Samples: bluetooth_audio_source does not send multiple streams #50061

@carlst

Description

@carlst

Describe the bug
samples/bluetooth/broadcast_audio_source with CONFIG_BT_AUDIO_BROADCAST_SRC_STREAM_COUNT=2 fails to send data after sending initial buffers.

Please also mention any information which could help others to understand
the problem you're facing:

  • platform is nRF52840DK
  • commit 1dfc469
  • tried previous commits but other issues with multiple ISO channels prevented testing
  • first 2 buffers appear to be sent for both streams. After this, stream_sent_cb is only invoked for 1st stream

To Reproduce
Steps to reproduce the behavior:

  1. Edit samples/bluetooth/broadcast_audio_source/prj.conf to contain CONFIG_BT_AUDIO_BROADCAST_SRC_STREAM_COUNT=2
  2. Add printk to src/main stream_started_cb and stream_sent_cb to display stream value each time a data buffer is sent
  3. Build for nRF52840DK
  4. Run (e.g. using Segger Embedded Studio) with RTT log

Expected behavior
Expect stream_sent_cb to show data sent for each stream in log.

Logs and console output
See attached console log file broadcast_audio_source_20220908.txt

broadcast_audio_source_20220908.txt

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions