can not find a2dtp reporting packet

23 views
Skip to first unread message

mikew

unread,
Dec 3, 2023, 10:14:53 PM12/3/23
to btstack-dev
Hi,

I am just reading the Bluetooth AVDTP specification. The document mentiones Send Report Reporting packet (SR) and  Receiver report packet (RR), but I can find them in BTstack source code.

I would like to know if these packets are truly missing in BTstack. If so, will there be any audio synchronization issues?

Matthias Ringwald

unread,
Dec 4, 2023, 6:02:29 AM12/4/23
to btsta...@googlegroups.com
Hi Mike

I had to open the AVDTP to read up on the the Send Report Reporting packet and Receiver Report packets. These are marked as optional in the A2DP specification and not used/implemented in BTstack, that's a correct observation.

BTstack can send/receive Delay Reporting message that indicate the delay between receiving an audio sample and its playback on a speaker, which is needed for Audio/Video synchronization.

As far as I know, this causes no audio synchronization issues. In A2DP, it's the task of the receiver to match the sample rate of the sender and achieve a constant playback. BTstack implements this Asynchronous Sample Rate Compensation in btstack_sample_rate_compensiation.c.

Cheers
Matthias
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to btstack-dev...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/btstack-dev/219d6b5a-c70c-4969-a1eb-54b3fbee03aen%40googlegroups.com.

mikew

unread,
Dec 4, 2023, 9:29:42 PM12/4/23
to btstack-dev
Thanks for your reply. I will see btstack_sample_rate_compensiation.c later.
Reply all
Reply to author
Forward
0 new messages