Support encrypted RTP extensions (RFC 6904)
Can be enabled by setting "enable_encrypted_rtp_header_extensions" in "crypto_options" of "PeerConnectionFactoryInterface::Options" and will only be used if both peers support it. BUG=webrtc:3411 Review-Url: https://codereview.webrtc.org/2761143002 Cr-Commit-Position: refs/heads/master@{#18842}
This commit is contained in:
@ -78,6 +78,10 @@ struct CryptoOptions {
|
||||
// Enable GCM crypto suites from RFC 7714 for SRTP. GCM will only be used
|
||||
// if both sides enable it.
|
||||
bool enable_gcm_crypto_suites = false;
|
||||
|
||||
// If set to true, encrypted RTP header extensions as defined in RFC 6904
|
||||
// will be negotiated. They will only be used if both peers support them.
|
||||
bool enable_encrypted_rtp_header_extensions = false;
|
||||
};
|
||||
|
||||
// Returns supported crypto suites, given |crypto_options|.
|
||||
|
||||
Reference in New Issue
Block a user