OLD | NEW |
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 return SetConfiguration(configuration, nullptr); | 141 return SetConfiguration(configuration, nullptr); |
142 } | 142 } |
143 bool AddIceCandidate(const IceCandidateInterface* candidate) override; | 143 bool AddIceCandidate(const IceCandidateInterface* candidate) override; |
144 bool RemoveIceCandidates( | 144 bool RemoveIceCandidates( |
145 const std::vector<cricket::Candidate>& candidates) override; | 145 const std::vector<cricket::Candidate>& candidates) override; |
146 | 146 |
147 void RegisterUMAObserver(UMAObserver* observer) override; | 147 void RegisterUMAObserver(UMAObserver* observer) override; |
148 | 148 |
149 RTCError SetBitrate(const BitrateParameters& bitrate) override; | 149 RTCError SetBitrate(const BitrateParameters& bitrate) override; |
150 | 150 |
| 151 RTCError SetBitrateAllocationStrategy( |
| 152 rtc::BitrateAllocationStrategy* bitrate_allocation_strategy) override; |
| 153 |
151 bool StartRtcEventLog(rtc::PlatformFile file, | 154 bool StartRtcEventLog(rtc::PlatformFile file, |
152 int64_t max_size_bytes) override; | 155 int64_t max_size_bytes) override; |
153 void StopRtcEventLog() override; | 156 void StopRtcEventLog() override; |
154 | 157 |
155 void Close() override; | 158 void Close() override; |
156 | 159 |
157 sigslot::signal1<DataChannel*> SignalDataChannelCreated; | 160 sigslot::signal1<DataChannel*> SignalDataChannelCreated; |
158 | 161 |
159 // Virtual for unit tests. | 162 // Virtual for unit tests. |
160 virtual const std::vector<rtc::scoped_refptr<DataChannel>>& | 163 virtual const std::vector<rtc::scoped_refptr<DataChannel>>& |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>> | 450 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>> |
448 senders_; | 451 senders_; |
449 std::vector< | 452 std::vector< |
450 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> | 453 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> |
451 receivers_; | 454 receivers_; |
452 }; | 455 }; |
453 | 456 |
454 } // namespace webrtc | 457 } // namespace webrtc |
455 | 458 |
456 #endif // WEBRTC_PC_PEERCONNECTION_H_ | 459 #endif // WEBRTC_PC_PEERCONNECTION_H_ |
OLD | NEW |