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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 virtual CallStatistics GetRTCPStatistics() const; | 64 virtual CallStatistics GetRTCPStatistics() const; |
65 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; | 65 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; |
66 virtual NetworkStatistics GetNetworkStatistics() const; | 66 virtual NetworkStatistics GetNetworkStatistics() const; |
67 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; | 67 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; |
68 virtual int32_t GetSpeechOutputLevelFullRange() const; | 68 virtual int32_t GetSpeechOutputLevelFullRange() const; |
69 virtual uint32_t GetDelayEstimate() const; | 69 virtual uint32_t GetDelayEstimate() const; |
70 | 70 |
71 virtual bool SetSendTelephoneEventPayloadType(int payload_type); | 71 virtual bool SetSendTelephoneEventPayloadType(int payload_type); |
72 virtual bool SendTelephoneEventOutband(int event, int duration_ms); | 72 virtual bool SendTelephoneEventOutband(int event, int duration_ms); |
| 73 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink); |
73 | 74 |
74 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink); | 75 virtual void StartSend(); |
75 | 76 |
76 private: | 77 private: |
77 Channel* channel() const; | 78 Channel* channel() const; |
78 | 79 |
79 rtc::ThreadChecker thread_checker_; | 80 rtc::ThreadChecker thread_checker_; |
80 ChannelOwner channel_owner_; | 81 ChannelOwner channel_owner_; |
81 | 82 |
82 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 83 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
83 }; | 84 }; |
84 } // namespace voe | 85 } // namespace voe |
85 } // namespace webrtc | 86 } // namespace webrtc |
86 | 87 |
87 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 88 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |