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

Unified Diff: webrtc/api/rtpparameters.h

Issue 2770233003: Implemented the GetSources() in native code. (Closed)
Patch Set: Address the comments related to threading and the special ContributingSource that uses the SSRC. Created 3 years, 9 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 | « no previous file | webrtc/api/rtpreceiverinterface.h » ('j') | webrtc/api/rtpreceiverinterface.h » ('J')
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 a428804d54b91ebd43571a916728afdbf29d27f6..95cf04731b9e6ee0dd85ecca0ca964d1171beba0 100644
--- a/webrtc/api/rtpparameters.h
+++ b/webrtc/api/rtpparameters.h
@@ -67,7 +67,7 @@ enum class DtxStatus {
ENABLED,
};
-enum class DegradationPreference {
Zhi Huang 2017/03/31 06:44:05 This is changed because it accidentally conflict w
Taylor Brandstetter 2017/03/31 22:10:50 It looks like the two enums are referring to the s
+enum class RtpDegradationPreference {
MAINTAIN_FRAMERATE,
MAINTAIN_RESOLUTION,
BALANCED,
@@ -441,8 +441,8 @@ struct RtpParameters {
std::vector<RtpEncodingParameters> encodings;
// TODO(deadbeef): Not implemented.
- DegradationPreference degradation_preference =
- DegradationPreference::BALANCED;
+ RtpDegradationPreference degradation_preference =
+ RtpDegradationPreference::BALANCED;
bool operator==(const RtpParameters& o) const {
return mid == o.mid && codecs == o.codecs &&
« no previous file with comments | « no previous file | webrtc/api/rtpreceiverinterface.h » ('j') | webrtc/api/rtpreceiverinterface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698