| Index: talk/app/webrtc/webrtcsdp.cc
|
| diff --git a/talk/app/webrtc/webrtcsdp.cc b/talk/app/webrtc/webrtcsdp.cc
|
| index 5518233f2f7da5371992c632df1ed36eb80db7c7..3cca11475e41a35a7904345fc099bd551067597b 100644
|
| --- a/talk/app/webrtc/webrtcsdp.cc
|
| +++ b/talk/app/webrtc/webrtcsdp.cc
|
| @@ -122,6 +122,7 @@ static const char kLineTypeAttributes = 'a';
|
| static const char kAttributeGroup[] = "group";
|
| static const char kAttributeMid[] = "mid";
|
| static const char kAttributeRtcpMux[] = "rtcp-mux";
|
| +static const char kAttributeRtcpReducedSize[] = "rtcp-rsize";
|
| static const char kAttributeSsrc[] = "ssrc";
|
| static const char kSsrcAttributeCname[] = "cname";
|
| static const char kAttributeExtmap[] = "extmap";
|
| @@ -1406,6 +1407,13 @@ void BuildRtpContentAttributes(
|
| AddLine(os.str(), message);
|
| }
|
|
|
| + // RFC 5506
|
| + // a=rtcp-rsize
|
| + if (media_desc->rtcp_reduced_size()) {
|
| + InitAttrLine(kAttributeRtcpReducedSize, &os);
|
| + AddLine(os.str(), message);
|
| + }
|
| +
|
| // RFC 4568
|
| // a=crypto:<tag> <crypto-suite> <key-params> [<session-params>]
|
| for (std::vector<CryptoParams>::const_iterator it =
|
| @@ -2567,6 +2575,8 @@ bool ParseContent(const std::string& message,
|
| //
|
| if (HasAttribute(line, kAttributeRtcpMux)) {
|
| media_desc->set_rtcp_mux(true);
|
| + } else if (HasAttribute(line, kAttributeRtcpReducedSize)) {
|
| + media_desc->set_rtcp_reduced_size(true);
|
| } else if (HasAttribute(line, kAttributeSsrcGroup)) {
|
| if (!ParseSsrcGroupAttribute(line, &ssrc_groups, error)) {
|
| return false;
|
|
|