Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Unified Diff: webrtc/pc/mediasession.h

Issue 2761143002: Support encrypted RTP extensions (RFC 6904) (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/pc/mediasession.h
diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h
index a901e1d75a3e75c129f40d1b1c7694eea55ab8ae..fc556f208a68c838341ed18b48181bee7375ef4a 100644
--- a/webrtc/pc/mediasession.h
+++ b/webrtc/pc/mediasession.h
@@ -464,6 +464,10 @@ class MediaSessionDescriptionFactory {
// applications. |add_legacy_| is true per default.
void set_add_legacy_streams(bool add_legacy) { add_legacy_ = add_legacy; }
+ void set_enable_rtp_header_encryption(bool enable) {
+ enable_rtp_header_encryption_ = enable;
+ }
+
SessionDescription* CreateOffer(
const MediaSessionOptions& options,
const SessionDescription* current_description) const;
@@ -563,6 +567,7 @@ class MediaSessionDescriptionFactory {
DataCodecs data_codecs_;
SecurePolicy secure_;
bool add_legacy_;
+ bool enable_rtp_header_encryption_ = false;
pthatcher1 2017/03/21 07:07:06 "encrypted_rtp_extensions_" to match existing name
joachim 2017/03/23 00:04:33 The "XXX_rtp_extensions_" members are lists of ext
std::string lang_;
const TransportDescriptionFactory* transport_desc_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698