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 26 matching lines...) Expand all Loading... |
37 void Stop() override; | 37 void Stop() override; |
38 void SignalNetworkState(NetworkState state) override; | 38 void SignalNetworkState(NetworkState state) override; |
39 bool DeliverRtcp(const uint8_t* packet, size_t length) override; | 39 bool DeliverRtcp(const uint8_t* packet, size_t length) override; |
40 bool DeliverRtp(const uint8_t* packet, | 40 bool DeliverRtp(const uint8_t* packet, |
41 size_t length, | 41 size_t length, |
42 const PacketTime& packet_time) override; | 42 const PacketTime& packet_time) override; |
43 | 43 |
44 // webrtc::AudioReceiveStream implementation. | 44 // webrtc::AudioReceiveStream implementation. |
45 webrtc::AudioReceiveStream::Stats GetStats() const override; | 45 webrtc::AudioReceiveStream::Stats GetStats() const override; |
46 | 46 |
47 void SetSink(const rtc::scoped_refptr<AudioSinkInterface>& sink) override; | 47 void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink) override; |
48 | 48 |
49 const webrtc::AudioReceiveStream::Config& config() const; | 49 const webrtc::AudioReceiveStream::Config& config() const; |
50 | 50 |
51 private: | 51 private: |
52 VoiceEngine* voice_engine() const; | 52 VoiceEngine* voice_engine() const; |
53 | 53 |
54 rtc::ThreadChecker thread_checker_; | 54 rtc::ThreadChecker thread_checker_; |
55 RemoteBitrateEstimator* const remote_bitrate_estimator_; | 55 RemoteBitrateEstimator* const remote_bitrate_estimator_; |
56 const webrtc::AudioReceiveStream::Config config_; | 56 const webrtc::AudioReceiveStream::Config config_; |
57 rtc::scoped_refptr<webrtc::AudioState> audio_state_; | 57 rtc::scoped_refptr<webrtc::AudioState> audio_state_; |
58 rtc::scoped_ptr<RtpHeaderParser> rtp_header_parser_; | 58 rtc::scoped_ptr<RtpHeaderParser> rtp_header_parser_; |
59 rtc::scoped_ptr<voe::ChannelProxy> channel_proxy_; | 59 rtc::scoped_ptr<voe::ChannelProxy> channel_proxy_; |
60 | 60 |
61 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); | 61 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); |
62 }; | 62 }; |
63 } // namespace internal | 63 } // namespace internal |
64 } // namespace webrtc | 64 } // namespace webrtc |
65 | 65 |
66 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ | 66 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ |
OLD | NEW |