| 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_;
|
| };
|
|
|