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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 class ChannelProxy { | 45 class ChannelProxy { |
46 public: | 46 public: |
47 ChannelProxy(); | 47 ChannelProxy(); |
48 explicit ChannelProxy(const ChannelOwner& channel_owner); | 48 explicit ChannelProxy(const ChannelOwner& channel_owner); |
49 virtual ~ChannelProxy(); | 49 virtual ~ChannelProxy(); |
50 | 50 |
51 virtual void SetRTCPStatus(bool enable); | 51 virtual void SetRTCPStatus(bool enable); |
52 virtual void SetLocalSSRC(uint32_t ssrc); | 52 virtual void SetLocalSSRC(uint32_t ssrc); |
53 virtual void SetRTCP_CNAME(const std::string& c_name); | 53 virtual void SetRTCP_CNAME(const std::string& c_name); |
54 virtual void SetNACKStatus(bool enable, int max_packets); | 54 virtual void SetNACKStatus(bool enable, int max_packets); |
55 virtual void SetSendAbsoluteSenderTimeStatus(bool enable, int id); | |
the sun
2016/10/27 16:09:17
There's a mock_channel_proxy which you should upda
stefan-webrtc
2016/10/31 15:40:27
Done.
| |
56 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); | 55 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); |
57 virtual void SetReceiveAbsoluteSenderTimeStatus(bool enable, int id); | |
58 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); | 56 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); |
59 virtual void EnableSendTransportSequenceNumber(int id); | 57 virtual void EnableSendTransportSequenceNumber(int id); |
60 virtual void EnableReceiveTransportSequenceNumber(int id); | 58 virtual void EnableReceiveTransportSequenceNumber(int id); |
61 virtual void RegisterSenderCongestionControlObjects( | 59 virtual void RegisterSenderCongestionControlObjects( |
62 RtpPacketSender* rtp_packet_sender, | 60 RtpPacketSender* rtp_packet_sender, |
63 TransportFeedbackObserver* transport_feedback_observer, | 61 TransportFeedbackObserver* transport_feedback_observer, |
64 PacketRouter* packet_router); | 62 PacketRouter* packet_router); |
65 virtual void RegisterReceiverCongestionControlObjects( | 63 virtual void RegisterReceiverCongestionControlObjects( |
66 PacketRouter* packet_router); | 64 PacketRouter* packet_router); |
67 virtual void ResetCongestionControlObjects(); | 65 virtual void ResetCongestionControlObjects(); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
103 rtc::ThreadChecker thread_checker_; | 101 rtc::ThreadChecker thread_checker_; |
104 rtc::RaceChecker race_checker_; | 102 rtc::RaceChecker race_checker_; |
105 ChannelOwner channel_owner_; | 103 ChannelOwner channel_owner_; |
106 | 104 |
107 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 105 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
108 }; | 106 }; |
109 } // namespace voe | 107 } // namespace voe |
110 } // namespace webrtc | 108 } // namespace webrtc |
111 | 109 |
112 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 110 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |