| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 void SignalNetworkState(NetworkState state); | 50 void SignalNetworkState(NetworkState state); |
| 51 bool DeliverRtcp(const uint8_t* packet, size_t length); | 51 bool DeliverRtcp(const uint8_t* packet, size_t length); |
| 52 bool DeliverRtp(const uint8_t* packet, | 52 bool DeliverRtp(const uint8_t* packet, |
| 53 size_t length, | 53 size_t length, |
| 54 const PacketTime& packet_time); | 54 const PacketTime& packet_time); |
| 55 const webrtc::AudioReceiveStream::Config& config() const; | 55 const webrtc::AudioReceiveStream::Config& config() const; |
| 56 | 56 |
| 57 // AudioMixer::Source | 57 // AudioMixer::Source |
| 58 AudioFrameInfo GetAudioFrameWithInfo(int sample_rate_hz, | 58 AudioFrameInfo GetAudioFrameWithInfo(int sample_rate_hz, |
| 59 AudioFrame* audio_frame) override; | 59 AudioFrame* audio_frame) override; |
| 60 int Ssrc() override; | 60 int PreferredSampleRate() const override; |
| 61 int Ssrc() const override; |
| 61 | 62 |
| 62 private: | 63 private: |
| 63 VoiceEngine* voice_engine() const; | 64 VoiceEngine* voice_engine() const; |
| 64 | 65 |
| 65 rtc::ThreadChecker thread_checker_; | 66 rtc::ThreadChecker thread_checker_; |
| 66 RemoteBitrateEstimator* remote_bitrate_estimator_ = nullptr; | 67 RemoteBitrateEstimator* remote_bitrate_estimator_ = nullptr; |
| 67 const webrtc::AudioReceiveStream::Config config_; | 68 const webrtc::AudioReceiveStream::Config config_; |
| 68 rtc::scoped_refptr<webrtc::AudioState> audio_state_; | 69 rtc::scoped_refptr<webrtc::AudioState> audio_state_; |
| 69 std::unique_ptr<RtpHeaderParser> rtp_header_parser_; | 70 std::unique_ptr<RtpHeaderParser> rtp_header_parser_; |
| 70 std::unique_ptr<voe::ChannelProxy> channel_proxy_; | 71 std::unique_ptr<voe::ChannelProxy> channel_proxy_; |
| 71 | 72 |
| 72 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); | 73 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); |
| 73 }; | 74 }; |
| 74 } // namespace internal | 75 } // namespace internal |
| 75 } // namespace webrtc | 76 } // namespace webrtc |
| 76 | 77 |
| 77 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ | 78 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ |
| OLD | NEW |