Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index 0e87252877c407e9b9f6ec84e019a9712f3206f6..b69a8a840c25bda8c7f86fb8b9de42f11c9e2cda 100644 |
--- a/webrtc/voice_engine/channel.h |
+++ b/webrtc/voice_engine/channel.h |
@@ -70,6 +70,7 @@ struct SenderInfo; |
namespace voe { |
class OutputMixer; |
+class RtcEventLogProxy; |
class RtpPacketSenderProxy; |
class Statistics; |
class StatisticsProxy; |
@@ -178,11 +179,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, |
@@ -455,6 +454,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); |
@@ -492,7 +494,7 @@ class Channel |
ChannelState channel_state_; |
- RtcEventLog* const event_log_; |
+ std::unique_ptr<voe::RtcEventLogProxy> event_log_; |
stefan-webrtc
2016/03/21 13:25:48
event_log_proxy_
ivoc
2016/03/22 13:44:55
Done.
|
std::unique_ptr<RtpHeaderParser> rtp_header_parser_; |
std::unique_ptr<RTPPayloadRegistry> rtp_payload_registry_; |