RTP header extensions

43 views
Skip to first unread message

Christophe Chaillon

unread,
Jul 19, 2021, 9:33:38 AMJul 19
to discuss-webrtc
Hi,

I am using WebRTC M89 (c++)
How can I enable a RTP header extension ? 
For example : I see that the "absolute capture time" extension exists in the code but it is not added to the SDP offer. How can I ask to webrtc to add it ?

Thanks,

Christophe

Vitaly Ivanov

unread,
Jul 21, 2021, 11:46:53 PM (12 days ago) Jul 21
to discuss...@googlegroups.com
Hi Christophe,

You need to call GetTransceivers() on PeerConnection (after adding tracks), and then do SetOfferedRtpHeaderExtensions() with webrtc::RtpHeaderExtensionCapability(webrtc::RtpExtension::kAbsoluteCaptureTimeUri) on those transceivers (there's usually only 1)

--

---
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/df736c4f-9210-4af4-8a65-25763bddff90n%40googlegroups.com.

Christophe Chaillon

unread,
Jul 22, 2021, 9:45:25 AM (12 days ago) Jul 22
to discuss...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages