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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 int SetLocalSSRC(unsigned int ssrc); | 332 int SetLocalSSRC(unsigned int ssrc); |
333 int GetLocalSSRC(unsigned int& ssrc); | 333 int GetLocalSSRC(unsigned int& ssrc); |
334 int GetRemoteSSRC(unsigned int& ssrc); | 334 int GetRemoteSSRC(unsigned int& ssrc); |
335 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); | 335 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); |
336 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); | 336 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); |
337 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id); | 337 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id); |
338 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id); | 338 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id); |
339 void EnableSendTransportSequenceNumber(int id); | 339 void EnableSendTransportSequenceNumber(int id); |
340 void EnableReceiveTransportSequenceNumber(int id); | 340 void EnableReceiveTransportSequenceNumber(int id); |
341 | 341 |
342 void SetCongestionControlObjects( | 342 void RegisterSenderCongestionControlObjects( |
343 RtpPacketSender* rtp_packet_sender, | 343 RtpPacketSender* rtp_packet_sender, |
344 TransportFeedbackObserver* transport_feedback_observer, | 344 TransportFeedbackObserver* transport_feedback_observer, |
345 PacketRouter* packet_router); | 345 PacketRouter* packet_router); |
| 346 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router); |
| 347 void ResetCongestionControlObjects(); |
346 | 348 |
347 void SetRTCPStatus(bool enable); | 349 void SetRTCPStatus(bool enable); |
348 int GetRTCPStatus(bool& enabled); | 350 int GetRTCPStatus(bool& enabled); |
349 int SetRTCP_CNAME(const char cName[256]); | 351 int SetRTCP_CNAME(const char cName[256]); |
350 int GetRemoteRTCP_CNAME(char cName[256]); | 352 int GetRemoteRTCP_CNAME(char cName[256]); |
351 int GetRemoteRTCPData(unsigned int& NTPHigh, | 353 int GetRemoteRTCPData(unsigned int& NTPHigh, |
352 unsigned int& NTPLow, | 354 unsigned int& NTPLow, |
353 unsigned int& timestamp, | 355 unsigned int& timestamp, |
354 unsigned int& playoutTimestamp, | 356 unsigned int& playoutTimestamp, |
355 unsigned int* jitter, | 357 unsigned int* jitter, |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 PacketRouter* packet_router_ = nullptr; | 594 PacketRouter* packet_router_ = nullptr; |
593 rtc::scoped_ptr<TransportFeedbackProxy> feedback_observer_proxy_; | 595 rtc::scoped_ptr<TransportFeedbackProxy> feedback_observer_proxy_; |
594 rtc::scoped_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; | 596 rtc::scoped_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; |
595 rtc::scoped_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; | 597 rtc::scoped_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; |
596 }; | 598 }; |
597 | 599 |
598 } // namespace voe | 600 } // namespace voe |
599 } // namespace webrtc | 601 } // namespace webrtc |
600 | 602 |
601 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 603 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
OLD | NEW |