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

Unified Diff: webrtc/api/rtpparameters.h

Issue 1917193008: Adding getParameters/setParameters APIs to RtpReceiver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: objc compile errors Created 4 years, 7 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 | « webrtc/api/mediastreamprovider.h ('k') | webrtc/api/rtpreceiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/rtpparameters.h
diff --git a/webrtc/api/rtpparameters.h b/webrtc/api/rtpparameters.h
index 729f841ab65c2bb51eeacd02910fbd61b16ef2a4..5c79ab4e9df571f1f4ef7c315c6efc4024bae84c 100644
--- a/webrtc/api/rtpparameters.h
+++ b/webrtc/api/rtpparameters.h
@@ -25,6 +25,9 @@ struct RtpEncodingParameters {
bool operator==(const RtpEncodingParameters& o) const {
return active == o.active && max_bitrate_bps == o.max_bitrate_bps;
}
+ bool operator!=(const RtpEncodingParameters& o) const {
+ return !(*this == o);
+ }
};
struct RtpCodecParameters {
@@ -38,6 +41,7 @@ struct RtpCodecParameters {
return payload_type == o.payload_type && mime_type == o.mime_type &&
clock_rate == o.clock_rate && channels == o.channels;
}
+ bool operator!=(const RtpCodecParameters& o) const { return !(*this == o); }
};
struct RtpParameters {
@@ -47,6 +51,7 @@ struct RtpParameters {
bool operator==(const RtpParameters& o) const {
return encodings == o.encodings && codecs == o.codecs;
}
+ bool operator!=(const RtpParameters& o) const { return !(*this == o); }
};
} // namespace webrtc
« no previous file with comments | « webrtc/api/mediastreamprovider.h ('k') | webrtc/api/rtpreceiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698