MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / VerifyCrypto

Function VerifyCrypto

pc/peer_connection.cc:465–510  ·  view source on GitHub ↗

Checks that each non-rejected content has SDES crypto keys or a DTLS fingerprint, unless it's in a BUNDLE group, in which case only the BUNDLE-tag section (first media section/description in the BUNDLE group) needs a ufrag and pwd. Mismatches, such as replying with a DTLS fingerprint to SDES keys, will be caught in JsepTransport negotiation, and backstopped by Channel's |srtp_required| check.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 9

NoteKeyProtocolAndMediaFunction · 0.85
RTCErrorFunction · 0.85
GetGroupByNameMethod · 0.80
media_descriptionMethod · 0.80
HasContentNameMethod · 0.80
FirstContentNameMethod · 0.80
typeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected