Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Side by Side Diff: webrtc/audio/audio_send_stream.h

Issue 2705093002: Injectable audio encoders: WebRtcVoiceEngine and company (Closed)
Patch Set: audio_send_spec made optional<>, EnableAudioNetworkAdapter now called directly on encoder, VAD supp… Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 private: 68 private:
69 VoiceEngine* voice_engine() const; 69 VoiceEngine* voice_engine() const;
70 70
71 bool SetupSendCodec(); 71 bool SetupSendCodec();
72 72
73 rtc::ThreadChecker thread_checker_; 73 rtc::ThreadChecker thread_checker_;
74 rtc::TaskQueue* worker_queue_; 74 rtc::TaskQueue* worker_queue_;
75 const webrtc::AudioSendStream::Config config_; 75 const webrtc::AudioSendStream::Config config_;
76 rtc::scoped_refptr<webrtc::AudioState> audio_state_; 76 rtc::scoped_refptr<webrtc::AudioState> audio_state_;
77 std::unique_ptr<voe::ChannelProxy> channel_proxy_; 77 std::unique_ptr<voe::ChannelProxy> channel_proxy_;
78 RtcEventLog* const event_log_;
78 79
79 BitrateAllocator* const bitrate_allocator_; 80 BitrateAllocator* const bitrate_allocator_;
80 CongestionController* const congestion_controller_; 81 CongestionController* const congestion_controller_;
81 std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; 82 std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_;
82 83
83 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream); 84 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream);
84 }; 85 };
85 } // namespace internal 86 } // namespace internal
86 } // namespace webrtc 87 } // namespace webrtc
87 88
88 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_ 89 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698