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

Side by Side Diff: webrtc/pc/peerconnection.h

Issue 2793913008: Add PeerConnectionInterface::UpdateCallBitrate. (Closed)
Patch Set: Force update if current bitrate is set. Remove big lambda. Improve parameter validation. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool SetConfiguration( 137 bool SetConfiguration(
138 const PeerConnectionInterface::RTCConfiguration& configuration) override { 138 const PeerConnectionInterface::RTCConfiguration& configuration) override {
139 return SetConfiguration(configuration, nullptr); 139 return SetConfiguration(configuration, nullptr);
140 } 140 }
141 bool AddIceCandidate(const IceCandidateInterface* candidate) override; 141 bool AddIceCandidate(const IceCandidateInterface* candidate) override;
142 bool RemoveIceCandidates( 142 bool RemoveIceCandidates(
143 const std::vector<cricket::Candidate>& candidates) override; 143 const std::vector<cricket::Candidate>& candidates) override;
144 144
145 void RegisterUMAObserver(UMAObserver* observer) override; 145 void RegisterUMAObserver(UMAObserver* observer) override;
146 146
147 RTCError SetBitrate(const BitrateParameters& bitrate) override;
148
147 bool StartRtcEventLog(rtc::PlatformFile file, 149 bool StartRtcEventLog(rtc::PlatformFile file,
148 int64_t max_size_bytes) override; 150 int64_t max_size_bytes) override;
149 void StopRtcEventLog() override; 151 void StopRtcEventLog() override;
150 152
151 void Close() override; 153 void Close() override;
152 154
153 sigslot::signal1<DataChannel*> SignalDataChannelCreated; 155 sigslot::signal1<DataChannel*> SignalDataChannelCreated;
154 156
155 // Virtual for unit tests. 157 // Virtual for unit tests.
156 virtual const std::vector<rtc::scoped_refptr<DataChannel>>& 158 virtual const std::vector<rtc::scoped_refptr<DataChannel>>&
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> 442 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>>
441 receivers_; 443 receivers_;
442 std::unique_ptr<WebRtcSession> session_; 444 std::unique_ptr<WebRtcSession> session_;
443 std::unique_ptr<StatsCollector> stats_; 445 std::unique_ptr<StatsCollector> stats_;
444 rtc::scoped_refptr<RTCStatsCollector> stats_collector_; 446 rtc::scoped_refptr<RTCStatsCollector> stats_collector_;
445 }; 447 };
446 448
447 } // namespace webrtc 449 } // namespace webrtc
448 450
449 #endif // WEBRTC_PC_PEERCONNECTION_H_ 451 #endif // WEBRTC_PC_PEERCONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698