| Index: webrtc/api/rtpparameters.h
|
| diff --git a/webrtc/api/rtpparameters.h b/webrtc/api/rtpparameters.h
|
| index 5c79ab4e9df571f1f4ef7c315c6efc4024bae84c..13704dc15b0e6d41d5b532d7dcc80bae3cc2c996 100644
|
| --- a/webrtc/api/rtpparameters.h
|
| +++ b/webrtc/api/rtpparameters.h
|
| @@ -14,16 +14,20 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "webrtc/base/optional.h"
|
| +
|
| 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 {
|
| + rtc::Optional<uint32_t> ssrc;
|
| 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);
|
|
|