Chromium Code Reviews| Index: webrtc/api/rtpparameters.h |
| diff --git a/webrtc/api/rtpparameters.h b/webrtc/api/rtpparameters.h |
| index 5c79ab4e9df571f1f4ef7c315c6efc4024bae84c..38adda9696803ead15d3b2364036f2981aa02b2a 100644 |
| --- a/webrtc/api/rtpparameters.h |
| +++ b/webrtc/api/rtpparameters.h |
| @@ -19,11 +19,13 @@ namespace webrtc { |
| // These structures are defined as part of the RtpSender interface. |
| // See http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface for details. |
| struct RtpEncodingParameters { |
| + uint32_t ssrc; |
|
pthatcher1
2016/06/16 19:34:38
We could make this an rtc::optional<uint32_t>, sin
|
| bool active = true; |
| int max_bitrate_bps = -1; |
| bool operator==(const RtpEncodingParameters& o) const { |
| - return active == o.active && max_bitrate_bps == o.max_bitrate_bps; |
| + return ssrc == o.ssrc && active == o.active && |
| + max_bitrate_bps == o.max_bitrate_bps; |
| } |
| bool operator!=(const RtpEncodingParameters& o) const { |
| return !(*this == o); |