Chromium Code Reviews

Unified Diff: webrtc/media/base/rtpdataengine.h

Issue 1813763005: Updated structures and functions for setting the max bitrate limit to take rtc::Optional<int> Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Code review feedback Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/media/base/rtpdataengine.h
diff --git a/webrtc/media/base/rtpdataengine.h b/webrtc/media/base/rtpdataengine.h
index 62eebf63c1247291b96356dfa4dbb32a98ec4e32..bcaa6d1655f0eb3035643d558fc048e1a7ea0d12 100644
--- a/webrtc/media/base/rtpdataengine.h
+++ b/webrtc/media/base/rtpdataengine.h
@@ -105,7 +105,7 @@ class RtpDataMediaChannel : public DataMediaChannel {
private:
void Construct(rtc::Timing* timing);
- bool SetMaxSendBandwidth(int bps);
+ bool SetMaxSendBandwidth(rtc::Optional<int> bps);
bool SetSendCodecs(const std::vector<DataCodec>& codecs);
bool SetRecvCodecs(const std::vector<DataCodec>& codecs);

Powered by Google App Engine