Chromium Code Reviews| 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_; |
| }; |