RTCRemoteOutboundRTPAudioStream rtt calculation

159 views
Skip to first unread message

emanuele bizzarri

unread,
Aug 29, 2022, 6:22:48 AM8/29/22
to discuss...@googlegroups.com
Hi,
I am checking audio rtt calculation for an incoming audio track.
If I use webrtc samples (munge sdp) it seems that roundTripTime is not calculated by the browser

image.png
While if I use Google Meet, where the audio is produced server side, then rtt is calculated by the browser

image.png
Can you help me to understand this please?

Thank you,
Emanuele

Philipp Hancke

unread,
Aug 29, 2022, 6:26:07 AM8/29/22
to discuss...@googlegroups.com
RTT calculation is done based on receiver reports.
Meet is using a mechanism called RRTR which Gustavo Garcia described nicely here:

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CALDK4C%2B3GHvZ1%2B%2B2mtTjwUOVB2Sc7YBa29sJDLBaWrSOAhtFSw%40mail.gmail.com.

emanuele bizzarri

unread,
Aug 29, 2022, 7:40:01 AM8/29/22
to discuss...@googlegroups.com
Hi,
I added
a=rtcp-fb:111 rrtr

to the sdp in munge-sdp example and it works properly
image.png
Thank you for your suggestion.

Emanuele

emanuele bizzarri

unread,
Sep 8, 2022, 3:57:41 AM9/8/22
to discuss-webrtc
which is the purpose to have rtt stats on receiver side?
Are they currently used?

Rajneesh Soni

unread,
Sep 10, 2022, 8:20:44 AM9/10/22
to discuss-webrtc
I have not seen the libwebrtc code. I think receiver can adjust its NACK generation timeout and jitter buffer based on rtt.
Reply all
Reply to author
Forward
0 new messages