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

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

Issue 1748403002: Move RtcEventLog object from inside VoiceEngine to Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix for failing tests. Created 4 years, 8 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
11 #ifndef WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ 11 #ifndef WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_
12 #define WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ 12 #define WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/audio_receive_stream.h" 16 #include "webrtc/audio_receive_stream.h"
17 #include "webrtc/audio_state.h" 17 #include "webrtc/audio_state.h"
18 #include "webrtc/base/thread_checker.h" 18 #include "webrtc/base/thread_checker.h"
19 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" 19 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 class CongestionController; 22 class CongestionController;
23 class RemoteBitrateEstimator; 23 class RemoteBitrateEstimator;
24 class RtcEventLog;
24 25
25 namespace voe { 26 namespace voe {
26 class ChannelProxy; 27 class ChannelProxy;
27 } // namespace voe 28 } // namespace voe
28 29
29 namespace internal { 30 namespace internal {
30 31
31 class AudioReceiveStream final : public webrtc::AudioReceiveStream { 32 class AudioReceiveStream final : public webrtc::AudioReceiveStream {
32 public: 33 public:
33 AudioReceiveStream(CongestionController* congestion_controller, 34 AudioReceiveStream(CongestionController* congestion_controller,
34 const webrtc::AudioReceiveStream::Config& config, 35 const webrtc::AudioReceiveStream::Config& config,
35 const rtc::scoped_refptr<webrtc::AudioState>& audio_state); 36 const rtc::scoped_refptr<webrtc::AudioState>& audio_state,
37 webrtc::RtcEventLog* event_log);
36 ~AudioReceiveStream() override; 38 ~AudioReceiveStream() override;
37 39
38 // webrtc::ReceiveStream implementation. 40 // webrtc::ReceiveStream implementation.
39 void Start() override; 41 void Start() override;
40 void Stop() override; 42 void Stop() override;
41 void SignalNetworkState(NetworkState state) override; 43 void SignalNetworkState(NetworkState state) override;
42 bool DeliverRtcp(const uint8_t* packet, size_t length) override; 44 bool DeliverRtcp(const uint8_t* packet, size_t length) override;
43 bool DeliverRtp(const uint8_t* packet, 45 bool DeliverRtp(const uint8_t* packet,
44 size_t length, 46 size_t length,
45 const PacketTime& packet_time) override; 47 const PacketTime& packet_time) override;
(...skipping 14 matching lines...) Expand all
60 rtc::scoped_refptr<webrtc::AudioState> audio_state_; 62 rtc::scoped_refptr<webrtc::AudioState> audio_state_;
61 std::unique_ptr<RtpHeaderParser> rtp_header_parser_; 63 std::unique_ptr<RtpHeaderParser> rtp_header_parser_;
62 std::unique_ptr<voe::ChannelProxy> channel_proxy_; 64 std::unique_ptr<voe::ChannelProxy> channel_proxy_;
63 65
64 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); 66 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream);
65 }; 67 };
66 } // namespace internal 68 } // namespace internal
67 } // namespace webrtc 69 } // namespace webrtc
68 70
69 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ 71 #endif // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698