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

Unified Diff: webrtc/api/rtpparameters.h

Issue 2052233002: Enable passing receive stream ID to the decoder factory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changes according to perkj's comments #2 && git cl format Created 4 years, 6 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
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);
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideodecoderfactory.h » ('j') | webrtc/media/engine/webrtcvideoengine2.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698