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 |
11 #ifndef WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 11 #ifndef WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
12 #define WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 12 #define WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
13 | 13 |
14 #include "webrtc/api/audio/audio_mixer.h" | 14 #include "webrtc/api/audio/audio_mixer.h" |
15 #include "webrtc/base/constructormagic.h" | 15 #include "webrtc/base/constructormagic.h" |
16 #include "webrtc/base/race_checker.h" | 16 #include "webrtc/base/race_checker.h" |
17 #include "webrtc/base/thread_checker.h" | 17 #include "webrtc/base/thread_checker.h" |
18 #include "webrtc/voice_engine/channel_manager.h" | 18 #include "webrtc/voice_engine/channel_manager.h" |
19 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" | 19 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" |
20 | 20 |
21 #include <memory> | 21 #include <memory> |
22 #include <string> | 22 #include <string> |
23 #include <vector> | 23 #include <vector> |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 | 26 |
27 class AudioSinkInterface; | 27 class AudioSinkInterface; |
28 class PacketRouter; | 28 class PacketRouter; |
29 class RtcEventLog; | 29 class RtcEventLog; |
| 30 class RtcpBandwidthObserver; |
30 class RtcpRttStats; | 31 class RtcpRttStats; |
31 class RtpPacketSender; | 32 class RtpPacketSender; |
32 class RtpReceiver; | 33 class RtpReceiver; |
33 class RtpRtcp; | 34 class RtpRtcp; |
34 class Transport; | 35 class Transport; |
35 class TransportFeedbackObserver; | 36 class TransportFeedbackObserver; |
36 | 37 |
37 namespace voe { | 38 namespace voe { |
38 | 39 |
39 class Channel; | 40 class Channel; |
(...skipping 15 matching lines...) Expand all Loading... |
55 virtual void SetLocalSSRC(uint32_t ssrc); | 56 virtual void SetLocalSSRC(uint32_t ssrc); |
56 virtual void SetRTCP_CNAME(const std::string& c_name); | 57 virtual void SetRTCP_CNAME(const std::string& c_name); |
57 virtual void SetNACKStatus(bool enable, int max_packets); | 58 virtual void SetNACKStatus(bool enable, int max_packets); |
58 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); | 59 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); |
59 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); | 60 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); |
60 virtual void EnableSendTransportSequenceNumber(int id); | 61 virtual void EnableSendTransportSequenceNumber(int id); |
61 virtual void EnableReceiveTransportSequenceNumber(int id); | 62 virtual void EnableReceiveTransportSequenceNumber(int id); |
62 virtual void RegisterSenderCongestionControlObjects( | 63 virtual void RegisterSenderCongestionControlObjects( |
63 RtpPacketSender* rtp_packet_sender, | 64 RtpPacketSender* rtp_packet_sender, |
64 TransportFeedbackObserver* transport_feedback_observer, | 65 TransportFeedbackObserver* transport_feedback_observer, |
65 PacketRouter* packet_router); | 66 PacketRouter* packet_router, |
| 67 RtcpBandwidthObserver* bandwidth_observer); |
66 virtual void RegisterReceiverCongestionControlObjects( | 68 virtual void RegisterReceiverCongestionControlObjects( |
67 PacketRouter* packet_router); | 69 PacketRouter* packet_router); |
68 virtual void ResetCongestionControlObjects(); | 70 virtual void ResetCongestionControlObjects(); |
69 virtual CallStatistics GetRTCPStatistics() const; | 71 virtual CallStatistics GetRTCPStatistics() const; |
70 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; | 72 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; |
71 virtual NetworkStatistics GetNetworkStatistics() const; | 73 virtual NetworkStatistics GetNetworkStatistics() const; |
72 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; | 74 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; |
73 virtual int32_t GetSpeechOutputLevelFullRange() const; | 75 virtual int32_t GetSpeechOutputLevelFullRange() const; |
74 virtual uint32_t GetDelayEstimate() const; | 76 virtual uint32_t GetDelayEstimate() const; |
75 virtual bool SetSendTelephoneEventPayloadType(int payload_type, | 77 virtual bool SetSendTelephoneEventPayloadType(int payload_type, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 rtc::ThreadChecker thread_checker_; | 125 rtc::ThreadChecker thread_checker_; |
124 rtc::RaceChecker race_checker_; | 126 rtc::RaceChecker race_checker_; |
125 ChannelOwner channel_owner_; | 127 ChannelOwner channel_owner_; |
126 | 128 |
127 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 129 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
128 }; | 130 }; |
129 } // namespace voe | 131 } // namespace voe |
130 } // namespace webrtc | 132 } // namespace webrtc |
131 | 133 |
132 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 134 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |