aboutsummaryrefslogtreecommitdiff
path: root/audio/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/channel.h')
-rw-r--r--audio/channel.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/channel.h b/audio/channel.h
index 5ffd6b1153..8d78665838 100644
--- a/audio/channel.h
+++ b/audio/channel.h
@@ -89,7 +89,6 @@ struct ReportBlock {
namespace voe {
-class RtcEventLogProxy;
class RtpPacketSenderProxy;
class TransportFeedbackProxy;
class TransportSequenceNumberProxy;
@@ -150,11 +149,13 @@ class Channel
Channel(rtc::TaskQueue* encoder_queue,
ProcessThread* module_process_thread,
AudioDeviceModule* audio_device_module,
- RtcpRttStats* rtcp_rtt_stats);
+ RtcpRttStats* rtcp_rtt_stats,
+ RtcEventLog* rtc_event_log);
// Used for receive streams.
Channel(ProcessThread* module_process_thread,
AudioDeviceModule* audio_device_module,
RtcpRttStats* rtcp_rtt_stats,
+ RtcEventLog* rtc_event_log,
size_t jitter_buffer_max_packets,
bool jitter_buffer_fast_playout,
rtc::scoped_refptr<AudioDecoderFactory> decoder_factory,
@@ -285,9 +286,6 @@ class Channel
// Used for obtaining RTT for a receive-only channel.
void SetAssociatedSendChannel(Channel* channel);
- // Set a RtcEventLog logging object.
- void SetRtcEventLog(RtcEventLog* event_log);
-
void SetTransportOverhead(size_t transport_overhead_per_packet);
// From OverheadObserver in the RTP/RTCP module
@@ -341,7 +339,7 @@ class Channel
ChannelState channel_state_;
- std::unique_ptr<voe::RtcEventLogProxy> event_log_proxy_;
+ RtcEventLog* const event_log_;
std::unique_ptr<RTPPayloadRegistry> rtp_payload_registry_;
std::unique_ptr<ReceiveStatistics> rtp_receive_statistics_;