| Index: webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
|
| index 5b9a60318fa9b4af1ce9089b26bb4fe94e26818e..f6c95005dd4f980730e2d739b75460e3dc05b8ef 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc
|
| @@ -15,6 +15,7 @@
|
| #include <utility>
|
|
|
| #include "webrtc/common_types.h"
|
| +#include "webrtc/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h"
|
| #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h"
|
| @@ -36,6 +37,7 @@
|
| #include "webrtc/rtc_base/checks.h"
|
| #include "webrtc/rtc_base/constructormagic.h"
|
| #include "webrtc/rtc_base/logging.h"
|
| +#include "webrtc/rtc_base/ptr_util.h"
|
| #include "webrtc/rtc_base/trace_event.h"
|
|
|
| namespace webrtc {
|
| @@ -99,8 +101,8 @@ class PacketContainer : public rtcp::CompoundPacket,
|
| if (transport_->SendRtcp(data, length)) {
|
| bytes_sent_ += length;
|
| if (event_log_) {
|
| - event_log_->LogOutgoingRtcpPacket(
|
| - rtc::ArrayView<const uint8_t>(data, length));
|
| + event_log_->Log(rtc::MakeUnique<RtcEventRtcpPacketOutgoing>(
|
| + rtc::ArrayView<const uint8_t>(data, length)));
|
| }
|
| }
|
| }
|
| @@ -963,8 +965,8 @@ bool RTCPSender::SendFeedbackPacket(const rtcp::TransportFeedback& packet) {
|
| void OnPacketReady(uint8_t* data, size_t length) override {
|
| if (transport_->SendRtcp(data, length)) {
|
| if (event_log_) {
|
| - event_log_->LogOutgoingRtcpPacket(
|
| - rtc::ArrayView<const uint8_t>(data, length));
|
| + event_log_->Log(rtc::MakeUnique<RtcEventRtcpPacketOutgoing>(
|
| + rtc::ArrayView<const uint8_t>(data, length)));
|
| }
|
| } else {
|
| send_failure_ = true;
|
|
|