Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index 7d9a17fcf39c86b79fd33b8a9289cf6d9b00cc2a..9908603216a8f51fc364706b7d53f019768270f6 100644 |
--- a/webrtc/voice_engine/channel.h |
+++ b/webrtc/voice_engine/channel.h |
@@ -63,6 +63,7 @@ struct SenderInfo; |
namespace voe { |
class OutputMixer; |
+class RtcEventLogProxy; |
class RtpPacketSenderProxy; |
class Statistics; |
class StatisticsProxy; |
@@ -170,11 +171,9 @@ class Channel |
static int32_t CreateChannel(Channel*& channel, |
int32_t channelId, |
uint32_t instanceId, |
- RtcEventLog* const event_log, |
const Config& config); |
Channel(int32_t channelId, |
uint32_t instanceId, |
- RtcEventLog* const event_log, |
const Config& config); |
int32_t Init(); |
int32_t SetEngineInformation(Statistics& engineStatistics, |
@@ -434,6 +433,9 @@ class Channel |
// Disassociate a send channel if it was associated. |
void DisassociateSendChannel(int channel_id); |
+ // Set a RtcEventLog logging object. |
+ void SetRtcEventLog(RtcEventLog* event_log); |
+ |
protected: |
void OnIncomingFractionLoss(int fraction_lost); |
@@ -470,7 +472,7 @@ class Channel |
ChannelState channel_state_; |
- RtcEventLog* const event_log_; |
+ std::unique_ptr<voe::RtcEventLogProxy> event_log_proxy_; |
std::unique_ptr<RtpHeaderParser> rtp_header_parser_; |
std::unique_ptr<RTPPayloadRegistry> rtp_payload_registry_; |