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

Unified Diff: webrtc/pc/mediasession.h

Issue 2761143002: Support encrypted RTP extensions (RFC 6904) (Closed)
Patch Set: More updates + support for adding/changing encrypted extensions. 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..172f86b54179ed8274cdbff0c40f7216b4f60289 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_encrypted_rtp_header_extensions(bool enable) {
+ enable_encrypted_rtp_header_extensions_ = 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_encrypted_rtp_header_extensions_ = false;
std::string lang_;
const TransportDescriptionFactory* transport_desc_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698