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 29 matching lines...) Expand all Loading... |
40 public: | 40 public: |
41 ChannelProxy(); | 41 ChannelProxy(); |
42 explicit ChannelProxy(const ChannelOwner& channel_owner); | 42 explicit ChannelProxy(const ChannelOwner& channel_owner); |
43 virtual ~ChannelProxy(); | 43 virtual ~ChannelProxy(); |
44 | 44 |
45 virtual void SetRTCPStatus(bool enable); | 45 virtual void SetRTCPStatus(bool enable); |
46 virtual void SetLocalSSRC(uint32_t ssrc); | 46 virtual void SetLocalSSRC(uint32_t ssrc); |
47 virtual void SetRTCP_CNAME(const std::string& c_name); | 47 virtual void SetRTCP_CNAME(const std::string& c_name); |
48 virtual void SetSendAbsoluteSenderTimeStatus(bool enable, int id); | 48 virtual void SetSendAbsoluteSenderTimeStatus(bool enable, int id); |
49 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); | 49 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); |
50 virtual void EnableSendTransportSequenceNumber(int id); | |
51 virtual void SetReceiveAbsoluteSenderTimeStatus(bool enable, int id); | 50 virtual void SetReceiveAbsoluteSenderTimeStatus(bool enable, int id); |
52 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); | 51 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); |
| 52 virtual void EnableSendTransportSequenceNumber(int id); |
| 53 virtual void EnableReceiveTransportSequenceNumber(int id); |
53 virtual void SetCongestionControlObjects( | 54 virtual void SetCongestionControlObjects( |
54 RtpPacketSender* rtp_packet_sender, | 55 RtpPacketSender* rtp_packet_sender, |
55 TransportFeedbackObserver* transport_feedback_observer, | 56 TransportFeedbackObserver* transport_feedback_observer, |
56 PacketRouter* packet_router); | 57 PacketRouter* packet_router); |
57 | 58 |
58 virtual CallStatistics GetRTCPStatistics() const; | 59 virtual CallStatistics GetRTCPStatistics() const; |
59 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; | 60 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; |
60 virtual NetworkStatistics GetNetworkStatistics() const; | 61 virtual NetworkStatistics GetNetworkStatistics() const; |
61 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; | 62 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; |
62 virtual int32_t GetSpeechOutputLevelFullRange() const; | 63 virtual int32_t GetSpeechOutputLevelFullRange() const; |
63 virtual uint32_t GetDelayEstimate() const; | 64 virtual uint32_t GetDelayEstimate() const; |
64 | 65 |
65 virtual bool SetSendTelephoneEventPayloadType(int payload_type); | 66 virtual bool SetSendTelephoneEventPayloadType(int payload_type); |
66 virtual bool SendTelephoneEventOutband(uint8_t event, uint32_t duration_ms); | 67 virtual bool SendTelephoneEventOutband(uint8_t event, uint32_t duration_ms); |
67 | 68 |
68 virtual void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink); | 69 virtual void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink); |
69 | 70 |
70 private: | 71 private: |
71 Channel* channel() const; | 72 Channel* channel() const; |
72 | 73 |
73 rtc::ThreadChecker thread_checker_; | 74 rtc::ThreadChecker thread_checker_; |
74 ChannelOwner channel_owner_; | 75 ChannelOwner channel_owner_; |
75 }; | 76 }; |
76 } // namespace voe | 77 } // namespace voe |
77 } // namespace webrtc | 78 } // namespace webrtc |
78 | 79 |
79 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 80 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |