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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual double GetTotalOutputEnergy() const; | 87 virtual double GetTotalOutputEnergy() const; |
88 virtual double GetTotalOutputDuration() const; | 88 virtual double GetTotalOutputDuration() const; |
89 virtual uint32_t GetDelayEstimate() const; | 89 virtual uint32_t GetDelayEstimate() const; |
90 virtual bool SetSendTelephoneEventPayloadType(int payload_type, | 90 virtual bool SetSendTelephoneEventPayloadType(int payload_type, |
91 int payload_frequency); | 91 int payload_frequency); |
92 virtual bool SendTelephoneEventOutband(int event, int duration_ms); | 92 virtual bool SendTelephoneEventOutband(int event, int duration_ms); |
93 virtual void SetBitrate(int bitrate_bps, int64_t probing_interval_ms); | 93 virtual void SetBitrate(int bitrate_bps, int64_t probing_interval_ms); |
94 virtual void SetReceiveCodecs(const std::map<int, SdpAudioFormat>& codecs); | 94 virtual void SetReceiveCodecs(const std::map<int, SdpAudioFormat>& codecs); |
95 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink); | 95 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink); |
96 virtual void SetInputMute(bool muted); | 96 virtual void SetInputMute(bool muted); |
97 virtual void RegisterExternalTransport(Transport* transport); | 97 virtual void RegisterTransport(Transport* transport); |
98 virtual void DeRegisterExternalTransport(); | |
99 | 98 |
100 // Implements RtpPacketSinkInterface | 99 // Implements RtpPacketSinkInterface |
101 void OnRtpPacket(const RtpPacketReceived& packet) override; | 100 void OnRtpPacket(const RtpPacketReceived& packet) override; |
102 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); | 101 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); |
103 virtual const rtc::scoped_refptr<AudioDecoderFactory>& | 102 virtual const rtc::scoped_refptr<AudioDecoderFactory>& |
104 GetAudioDecoderFactory() const; | 103 GetAudioDecoderFactory() const; |
105 virtual void SetChannelOutputVolumeScaling(float scaling); | 104 virtual void SetChannelOutputVolumeScaling(float scaling); |
106 virtual void SetRtcEventLog(RtcEventLog* event_log); | 105 virtual void SetRtcEventLog(RtcEventLog* event_log); |
107 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( | 106 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( |
108 int sample_rate_hz, | 107 int sample_rate_hz, |
(...skipping 29 matching lines...) Expand all Loading... |
138 rtc::RaceChecker audio_thread_race_checker_; | 137 rtc::RaceChecker audio_thread_race_checker_; |
139 rtc::RaceChecker video_capture_thread_race_checker_; | 138 rtc::RaceChecker video_capture_thread_race_checker_; |
140 ChannelOwner channel_owner_; | 139 ChannelOwner channel_owner_; |
141 | 140 |
142 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 141 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
143 }; | 142 }; |
144 } // namespace voe | 143 } // namespace voe |
145 } // namespace webrtc | 144 } // namespace webrtc |
146 | 145 |
147 #endif // VOICE_ENGINE_CHANNEL_PROXY_H_ | 146 #endif // VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |