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 bool DeliverRtp(const uint8_t* packet, | 37 bool DeliverRtp(const uint8_t* packet, |
38 size_t length, | 38 size_t length, |
39 const PacketTime& packet_time) override; | 39 const PacketTime& packet_time) override; |
40 | 40 |
41 // webrtc::AudioReceiveStream implementation. | 41 // webrtc::AudioReceiveStream implementation. |
42 webrtc::AudioReceiveStream::Stats GetStats() const override; | 42 webrtc::AudioReceiveStream::Stats GetStats() const override; |
43 | 43 |
44 const webrtc::AudioReceiveStream::Config& config() const; | 44 const webrtc::AudioReceiveStream::Config& config() const; |
45 | 45 |
46 private: | 46 private: |
| 47 VoiceEngine* voice_engine() const; |
| 48 |
47 rtc::ThreadChecker thread_checker_; | 49 rtc::ThreadChecker thread_checker_; |
48 RemoteBitrateEstimator* const remote_bitrate_estimator_; | 50 RemoteBitrateEstimator* const remote_bitrate_estimator_; |
49 const webrtc::AudioReceiveStream::Config config_; | 51 const webrtc::AudioReceiveStream::Config config_; |
50 rtc::scoped_refptr<webrtc::AudioState> audio_state_; | 52 rtc::scoped_refptr<webrtc::AudioState> audio_state_; |
51 rtc::scoped_ptr<RtpHeaderParser> rtp_header_parser_; | 53 rtc::scoped_ptr<RtpHeaderParser> rtp_header_parser_; |
52 | 54 |
53 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); | 55 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); |
54 }; | 56 }; |
55 } // namespace internal | 57 } // namespace internal |
56 } // namespace webrtc | 58 } // namespace webrtc |
57 | 59 |
58 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ | 60 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ |
OLD | NEW |