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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // Implements RtpPacketSinkInterface | 100 // Implements RtpPacketSinkInterface |
101 void OnRtpPacket(const RtpPacketReceived& packet) override; | 101 void OnRtpPacket(const RtpPacketReceived& packet) override; |
102 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); | 102 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); |
103 virtual const rtc::scoped_refptr<AudioDecoderFactory>& | 103 virtual const rtc::scoped_refptr<AudioDecoderFactory>& |
104 GetAudioDecoderFactory() const; | 104 GetAudioDecoderFactory() const; |
105 virtual void SetChannelOutputVolumeScaling(float scaling); | 105 virtual void SetChannelOutputVolumeScaling(float scaling); |
106 virtual void SetRtcEventLog(RtcEventLog* event_log); | 106 virtual void SetRtcEventLog(RtcEventLog* event_log); |
107 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( | 107 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( |
108 int sample_rate_hz, | 108 int sample_rate_hz, |
109 AudioFrame* audio_frame); | 109 AudioFrame* audio_frame); |
110 virtual int NeededFrequency() const; | 110 virtual int PreferredSampleRate() const; |
111 virtual void SetTransportOverhead(int transport_overhead_per_packet); | 111 virtual void SetTransportOverhead(int transport_overhead_per_packet); |
112 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy); | 112 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy); |
113 virtual void DisassociateSendChannel(); | 113 virtual void DisassociateSendChannel(); |
114 virtual void GetRtpRtcp(RtpRtcp** rtp_rtcp, | 114 virtual void GetRtpRtcp(RtpRtcp** rtp_rtcp, |
115 RtpReceiver** rtp_receiver) const; | 115 RtpReceiver** rtp_receiver) const; |
116 virtual uint32_t GetPlayoutTimestamp() const; | 116 virtual uint32_t GetPlayoutTimestamp() const; |
117 virtual void SetMinimumPlayoutDelay(int delay_ms); | 117 virtual void SetMinimumPlayoutDelay(int delay_ms); |
118 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats); | 118 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats); |
119 virtual bool GetRecCodec(CodecInst* codec_inst) const; | 119 virtual bool GetRecCodec(CodecInst* codec_inst) const; |
120 virtual void OnTwccBasedUplinkPacketLossRate(float packet_loss_rate); | 120 virtual void OnTwccBasedUplinkPacketLossRate(float packet_loss_rate); |
(...skipping 17 matching lines...) Expand all Loading... |
138 rtc::RaceChecker audio_thread_race_checker_; | 138 rtc::RaceChecker audio_thread_race_checker_; |
139 rtc::RaceChecker video_capture_thread_race_checker_; | 139 rtc::RaceChecker video_capture_thread_race_checker_; |
140 ChannelOwner channel_owner_; | 140 ChannelOwner channel_owner_; |
141 | 141 |
142 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 142 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
143 }; | 143 }; |
144 } // namespace voe | 144 } // namespace voe |
145 } // namespace webrtc | 145 } // namespace webrtc |
146 | 146 |
147 #endif // VOICE_ENGINE_CHANNEL_PROXY_H_ | 147 #endif // VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |