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:
jbauch
2017-06-29 12:31:36 -07:00
committed by Commit Bot
parent c9be3d5e8b
commit 5869f50f7a
27 changed files with 1404 additions and 116 deletions

View File

@ -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|.