OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 172 matching lines...) Loading... |
183 | 183 |
184 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer); | 184 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer); |
185 | 185 |
186 // Called on any new send bitrate estimate. | 186 // Called on any new send bitrate estimate. |
187 void RegisterSendBitrateObserver(BitrateStatisticsObserver* observer); | 187 void RegisterSendBitrateObserver(BitrateStatisticsObserver* observer); |
188 | 188 |
189 // Implements RtpFeedback. | 189 // Implements RtpFeedback. |
190 int32_t OnInitializeDecoder(const int8_t payload_type, | 190 int32_t OnInitializeDecoder(const int8_t payload_type, |
191 const char payload_name[RTP_PAYLOAD_NAME_SIZE], | 191 const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
192 const int frequency, | 192 const int frequency, |
193 const uint8_t channels, | 193 const size_t channels, |
194 const uint32_t rate) override; | 194 const uint32_t rate) override; |
195 void OnIncomingSSRCChanged(const uint32_t ssrc) override; | 195 void OnIncomingSSRCChanged(const uint32_t ssrc) override; |
196 void OnIncomingCSRCChanged(const uint32_t CSRC, const bool added) override; | 196 void OnIncomingCSRCChanged(const uint32_t CSRC, const bool added) override; |
197 | 197 |
198 int32_t SetRemoteSSRCType(const StreamType usage, const uint32_t SSRC); | 198 int32_t SetRemoteSSRCType(const StreamType usage, const uint32_t SSRC); |
199 | 199 |
200 int32_t StartSend(); | 200 int32_t StartSend(); |
201 int32_t StopSend(); | 201 int32_t StopSend(); |
202 bool Sending(); | 202 bool Sending(); |
203 void StartReceive(); | 203 void StartReceive(); |
(...skipping 241 matching lines...) Loading... |
445 size_t num_rtts_ GUARDED_BY(crit_); | 445 size_t num_rtts_ GUARDED_BY(crit_); |
446 | 446 |
447 // RtpRtcp modules, declared last as they use other members on construction. | 447 // RtpRtcp modules, declared last as they use other members on construction. |
448 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 448 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
449 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); | 449 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); |
450 }; | 450 }; |
451 | 451 |
452 } // namespace webrtc | 452 } // namespace webrtc |
453 | 453 |
454 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ | 454 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ |
OLD | NEW |