summaryrefslogtreecommitdiffstats
path: root/media/cast/rtcp/rtcp_receiver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/cast/rtcp/rtcp_receiver.cc')
-rw-r--r--media/cast/rtcp/rtcp_receiver.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/cast/rtcp/rtcp_receiver.cc b/media/cast/rtcp/rtcp_receiver.cc
index 152ebc0..eaafefd 100644
--- a/media/cast/rtcp/rtcp_receiver.cc
+++ b/media/cast/rtcp/rtcp_receiver.cc
@@ -212,9 +212,10 @@ void RtcpReceiver::HandleReportBlock(const RtcpField* rtcp_field,
return;
}
VLOG(1) << "Cast RTCP received RB from SSRC " << remote_ssrc;
- cast_environment_->Logging()->InsertGenericEvent(kPacketLoss,
+ base::TimeTicks now = cast_environment_->Clock()->NowTicks();
+ cast_environment_->Logging()->InsertGenericEvent(now, kPacketLoss,
rb.fraction_lost);
- cast_environment_->Logging()->InsertGenericEvent(kJitterMs,
+ cast_environment_->Logging()->InsertGenericEvent(now, kJitterMs,
rb.jitter);
RtcpReportBlock report_block;