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

Unified Diff: webrtc/pc/mediasession.h

Issue 2761143002: Support encrypted RTP extensions (RFC 6904) (Closed)
Patch Set: Fix compile error on win_x64 bots. Created 3 years, 6 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
« no previous file with comments | « webrtc/pc/channel_unittest.cc ('k') | webrtc/pc/mediasession.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/mediasession.h
diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h
index edf2dd0f400c00ca51fee13be1113d92eb97aab2..596bd18ad1432cdc8702d80707e15787f479434a 100644
--- a/webrtc/pc/mediasession.h
+++ b/webrtc/pc/mediasession.h
@@ -475,6 +475,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;
@@ -574,6 +578,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_;
};
« no previous file with comments | « webrtc/pc/channel_unittest.cc ('k') | webrtc/pc/mediasession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698