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

Unified Diff: talk/session/media/mediasession.h

Issue 1308023004: Add support for negotiating RTCP with reduced size. Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 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 | « talk/session/media/channel.cc ('k') | talk/session/media/mediasession.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « talk/session/media/channel.cc ('k') | talk/session/media/mediasession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698