Skip to content

bluez: a2dpsink + avdtpsrc: support static bitpool

The bitpool param was stored in the caps structure as an int range. When min and max bitpool were equal this lead to an assertion as int ranges assert min < max. Fixed by equality check and use int as value type instead.

This fix was necessary for Bluetooth SIG certification of GStreamer+BlueZ stack. Among others the following test cases failed:

AVDTP/SRC/ACP/SIG/SMG/BV-18-C

AVDTP/SRC/ACP/SIG/SMG/BV-20-C

Edit: added Bluetooth Certification note and failed test cases for people running into these issues ;)

Edited by Henning Schuett

Merge request reports