OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 30 matching lines...) Expand all Loading... |
41 // on return values and input adaptation. | 41 // on return values and input adaptation. |
42 class ChannelProxy { | 42 class ChannelProxy { |
43 public: | 43 public: |
44 ChannelProxy(); | 44 ChannelProxy(); |
45 explicit ChannelProxy(const ChannelOwner& channel_owner); | 45 explicit ChannelProxy(const ChannelOwner& channel_owner); |
46 virtual ~ChannelProxy(); | 46 virtual ~ChannelProxy(); |
47 | 47 |
48 virtual void SetRTCPStatus(bool enable); | 48 virtual void SetRTCPStatus(bool enable); |
49 virtual void SetLocalSSRC(uint32_t ssrc); | 49 virtual void SetLocalSSRC(uint32_t ssrc); |
50 virtual void SetRTCP_CNAME(const std::string& c_name); | 50 virtual void SetRTCP_CNAME(const std::string& c_name); |
| 51 virtual void SetNACKStatus(bool enable, int max_packets); |
51 virtual void SetSendAbsoluteSenderTimeStatus(bool enable, int id); | 52 virtual void SetSendAbsoluteSenderTimeStatus(bool enable, int id); |
52 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); | 53 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); |
53 virtual void SetReceiveAbsoluteSenderTimeStatus(bool enable, int id); | 54 virtual void SetReceiveAbsoluteSenderTimeStatus(bool enable, int id); |
54 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); | 55 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); |
55 virtual void EnableSendTransportSequenceNumber(int id); | 56 virtual void EnableSendTransportSequenceNumber(int id); |
56 virtual void EnableReceiveTransportSequenceNumber(int id); | 57 virtual void EnableReceiveTransportSequenceNumber(int id); |
57 virtual void RegisterSenderCongestionControlObjects( | 58 virtual void RegisterSenderCongestionControlObjects( |
58 RtpPacketSender* rtp_packet_sender, | 59 RtpPacketSender* rtp_packet_sender, |
59 TransportFeedbackObserver* transport_feedback_observer, | 60 TransportFeedbackObserver* transport_feedback_observer, |
60 PacketRouter* packet_router); | 61 PacketRouter* packet_router); |
(...skipping 24 matching lines...) Expand all Loading... |
85 | 86 |
86 rtc::ThreadChecker thread_checker_; | 87 rtc::ThreadChecker thread_checker_; |
87 ChannelOwner channel_owner_; | 88 ChannelOwner channel_owner_; |
88 | 89 |
89 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 90 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
90 }; | 91 }; |
91 } // namespace voe | 92 } // namespace voe |
92 } // namespace webrtc | 93 } // namespace webrtc |
93 | 94 |
94 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 95 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |