Skip to content

bluez5: bap: no need to check for mtu + fix SDU_Interval

P V requested to merge pvir/pipewire:bap-mtu into master

It's not necessary for ISO SDU to fit into the adapter MTU, as kernel will fragment the packet as needed.

Remove MTU checks.


bluez5: bap: determine SDU interval from codec frame duration

BlueZ API as BAP Server gives us the ISO interval, instead of the SDU interval, in the MediaTransport.QoS.Interval property. They are not necessarily the same. What we need is the SDU interval.

The SDU interval is the interval between packets the encoder outputs, so it is determined by the codec configuration, and for LC3 is equal to the frame duration.

Add codec method get_interval() that returns the correct interval, and use it in iso-io.

Edited by P V

Merge request reports