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

Unified Diff: webrtc/common_types.h

Issue 2947633003: Allow parsing empty RTCP TargetBitrate messages, but stop sending them. (Closed)
Patch Set: Addressed comments Created 3 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
« no previous file with comments | « no previous file | webrtc/common_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index 73a1c8340d62e93b65b3d0f4894583826c336705..f41c646000705eb95a2f13b36772980a19115531 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -631,12 +631,15 @@ class BitrateAllocation {
inline bool operator!=(const BitrateAllocation& other) const {
return !(*this == other);
}
+ std::string ToString() const;
private:
uint32_t sum_;
uint32_t bitrates_[kMaxSpatialLayers][kMaxTemporalStreams];
};
+std::ostream& operator<<(std::ostream& os, const BitrateAllocation& bitrate);
stefan-webrtc 2017/06/22 11:10:38 Where is this used? To me it seems like it should
sprang_webrtc 2017/06/22 11:28:29 It is not used, at the moment. It is however somet
stefan-webrtc 2017/06/22 11:38:12 Ok, I'm mostly worried about adding usage of strin
sprang_webrtc 2017/06/22 12:06:57 Right.. I'll add a comment about about using this
+
// Bandwidth over-use detector options. These are used to drive
// experimentation with bandwidth estimation parameters.
// See modules/remote_bitrate_estimator/overuse_detector.h
« no previous file with comments | « no previous file | webrtc/common_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698