Home / WebRTC and SIP over WebSocket / DTLS-SRTP and the required audio codecs
DTLS-SRTP and the required audio codecs
WebRTC media is SRTP. The profile is RTP/SAVPF. Opus, PCMA, and PCMU are required audio codecs.
Learn in 5 minutes
- Say where DTLS-SRTP keys are made
- Write the UDP proto token from RFC 5764
- List the required WebRTC audio codecs
Visual
DTLS-SRTP does not put the SRTP key in the SIP message. The codec list is a separate requirement.
Worked example
Read the offer proto and the Opus line The offer uses UDP/TLS/RTP/SAVPF and names opus/48000/2. The answer keeps Opus.
- Press Negotiate.
- Read the proto token.
- Read the Opus clock and channel count.
Fault
The gateway answers with m=audio 19642 RTP/AVP 0. The browser never sends audio.
RFC 8834 says WebRTC endpoints must not send RTP/AVP.
Quiz
Ecosystem
Glossary, sister systems, and the integration seam for this room.
Analytics Amazon Connect can attach conversational analytics to an external voice system with a SIPREC connector. The analytics plane is not a second SIP proxy for the customer call.