diff options
author | hubbe <hubbe@chromium.org> | 2014-11-21 16:05:59 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-22 00:06:29 +0000 |
commit | 9d51ce79eddc3ccf343248d4f34924de227ad3d5 (patch) | |
tree | 58e1f03e7473a3b02b8a7ab57c73c9018696adb6 /media/cast/receiver | |
parent | b5236ab8c10dcc804067398c01bb34605513e71b (diff) | |
download | chromium_src-9d51ce79eddc3ccf343248d4f34924de227ad3d5.zip chromium_src-9d51ce79eddc3ccf343248d4f34924de227ad3d5.tar.gz chromium_src-9d51ce79eddc3ccf343248d4f34924de227ad3d5.tar.bz2 |
Cast: Clean up RtpReceiverStatistics handling.
This is in preparation for making a cast_streaming receiver.
The transport interface will need the stats to be a POD, not an interface.
Review URL: https://codereview.chromium.org/743093003
Cr-Commit-Position: refs/heads/master@{#305325}
Diffstat (limited to 'media/cast/receiver')
-rw-r--r-- | media/cast/receiver/frame_receiver.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/cast/receiver/frame_receiver.cc b/media/cast/receiver/frame_receiver.cc index 095e611..561e19f 100644 --- a/media/cast/receiver/frame_receiver.cc +++ b/media/cast/receiver/frame_receiver.cc @@ -336,7 +336,8 @@ void FrameReceiver::ScheduleNextRtcpReport() { void FrameReceiver::SendNextRtcpReport() { DCHECK(cast_environment_->CurrentlyOn(CastEnvironment::MAIN)); - rtcp_.SendRtcpFromRtpReceiver(NULL, base::TimeDelta(), NULL, &stats_); + RtpReceiverStatistics stats = stats_.GetStatistics(); + rtcp_.SendRtcpFromRtpReceiver(NULL, base::TimeDelta(), NULL, &stats); ScheduleNextRtcpReport(); } |