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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 return SetConfiguration(configuration, nullptr); | 125 return SetConfiguration(configuration, nullptr); |
126 } | 126 } |
127 bool AddIceCandidate(const IceCandidateInterface* candidate) override; | 127 bool AddIceCandidate(const IceCandidateInterface* candidate) override; |
128 bool RemoveIceCandidates( | 128 bool RemoveIceCandidates( |
129 const std::vector<cricket::Candidate>& candidates) override; | 129 const std::vector<cricket::Candidate>& candidates) override; |
130 | 130 |
131 void RegisterUMAObserver(UMAObserver* observer) override; | 131 void RegisterUMAObserver(UMAObserver* observer) override; |
132 | 132 |
133 RTCError SetBitrate(const BitrateParameters& bitrate) override; | 133 RTCError SetBitrate(const BitrateParameters& bitrate) override; |
134 | 134 |
| 135 RTCError SetBitrateAllocationStrategy( |
| 136 rtc::scoped_refptr<rtc::BitrateAllocationStrategy> |
| 137 bitrate_allocation_strategy) override; |
| 138 |
135 bool StartRtcEventLog(rtc::PlatformFile file, | 139 bool StartRtcEventLog(rtc::PlatformFile file, |
136 int64_t max_size_bytes) override; | 140 int64_t max_size_bytes) override; |
137 void StopRtcEventLog() override; | 141 void StopRtcEventLog() override; |
138 | 142 |
139 void Close() override; | 143 void Close() override; |
140 | 144 |
141 sigslot::signal1<DataChannel*> SignalDataChannelCreated; | 145 sigslot::signal1<DataChannel*> SignalDataChannelCreated; |
142 | 146 |
143 // Virtual for unit tests. | 147 // Virtual for unit tests. |
144 virtual const std::vector<rtc::scoped_refptr<DataChannel>>& | 148 virtual const std::vector<rtc::scoped_refptr<DataChannel>>& |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>> | 444 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>> |
441 senders_; | 445 senders_; |
442 std::vector< | 446 std::vector< |
443 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> | 447 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> |
444 receivers_; | 448 receivers_; |
445 }; | 449 }; |
446 | 450 |
447 } // namespace webrtc | 451 } // namespace webrtc |
448 | 452 |
449 #endif // WEBRTC_PC_PEERCONNECTION_H_ | 453 #endif // WEBRTC_PC_PEERCONNECTION_H_ |
OLD | NEW |