How to disable srtp totally (both dtls and aes) in webrtc project?

843 views
Skip to first unread message

yishen wang

unread,
Oct 7, 2021, 9:28:49 AM10/7/21
to discuss-webrtc
I want disable srtp to use wireshark for packet capture and analysis, but srtp encrypts payload, I try to set webrtc::PeerConnectionInterface::RTCConfiguration::enable_dtls_srtp to false, but webrtc will use aes instead. Is there any ways  to disable srtp  totally   in webrtc project? 

tks~

Philipp Hancke

unread,
Oct 7, 2021, 9:38:30 AM10/7/21
to discuss...@googlegroups.com
chrome beta and canary have a --disable-webrtc-encryption command line flag described here:
https://webrtchacks.com/video_replay/ describes it usage. The comment at the bottom also describes the newer RTP_DUMP logging which is generally preferable.

shows how to disable it in native.

Am Do., 7. Okt. 2021 um 15:28 Uhr schrieb yishen wang <yishen....@gmail.com>:
I want disable srtp to use wireshark for packet capture and analysis, but srtp encrypts payload, I try to set webrtc::PeerConnectionInterface::RTCConfiguration::enable_dtls_srtp to false, but webrtc will use aes instead. Is there any ways  to disable srtp  totally   in webrtc project? 

tks~

--

---
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/0098bc92-25d5-4843-b2f7-e7b763e89340n%40googlegroups.com.

yishen wang

unread,
Oct 7, 2021, 6:45:43 PM10/7/21
to discuss-webrtc
Many thanks! Set PeerConnectionFactoryInterface::Options::disable_encryption to true works.
Reply all
Reply to author
Forward
0 new messages