Index: talk/session/media/mediasession.h |
diff --git a/talk/session/media/mediasession.h b/talk/session/media/mediasession.h |
index 5bcc8cc55bd6cd29245af1c71308763f49987269..c588109906693c61a98d2744cb3157716ef43c42 100644 |
--- a/talk/session/media/mediasession.h |
+++ b/talk/session/media/mediasession.h |
@@ -169,6 +169,7 @@ class MediaContentDescription : public ContentDescription { |
public: |
MediaContentDescription() |
: rtcp_mux_(false), |
+ rtcp_reduced_size_(false), |
bandwidth_(kAutoBandwidth), |
crypto_required_(CT_NONE), |
rtp_header_extensions_set_(false), |
@@ -176,8 +177,7 @@ class MediaContentDescription : public ContentDescription { |
conference_mode_(false), |
partial_(false), |
buffered_mode_latency_(kBufferedModeDisabled), |
- direction_(MD_SENDRECV) { |
- } |
+ direction_(MD_SENDRECV) {} |
virtual MediaType type() const = 0; |
virtual bool has_codecs() const = 0; |
@@ -195,6 +195,11 @@ class MediaContentDescription : public ContentDescription { |
bool rtcp_mux() const { return rtcp_mux_; } |
void set_rtcp_mux(bool mux) { rtcp_mux_ = mux; } |
+ bool rtcp_reduced_size() const { return rtcp_reduced_size_; } |
+ void set_rtcp_reduced_size(bool reduced_size) { |
+ rtcp_reduced_size_ = reduced_size; |
+ } |
+ |
int bandwidth() const { return bandwidth_; } |
void set_bandwidth(int bandwidth) { bandwidth_ = bandwidth; } |
@@ -292,6 +297,7 @@ class MediaContentDescription : public ContentDescription { |
protected: |
bool rtcp_mux_; |
+ bool rtcp_reduced_size_; |
int bandwidth_; |
std::string protocol_; |
std::vector<CryptoParams> cryptos_; |