Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Side by Side Diff: media/cast/transport/transport_video_sender.cc

Issue 281453003: Cast: Simplify code path for RTCP sender report (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/transport/transport_video_sender.h ('k') | media/cast/video_sender/video_sender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/transport/transport_video_sender.h" 5 #include "media/cast/transport/transport_video_sender.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 69
70 void TransportVideoSender::ResendPackets( 70 void TransportVideoSender::ResendPackets(
71 const MissingFramesAndPacketsMap& missing_frames_and_packets) { 71 const MissingFramesAndPacketsMap& missing_frames_and_packets) {
72 if (!initialized_) { 72 if (!initialized_) {
73 return; 73 return;
74 } 74 }
75 rtp_sender_.ResendPackets(missing_frames_and_packets); 75 rtp_sender_.ResendPackets(missing_frames_and_packets);
76 } 76 }
77 77
78 void TransportVideoSender::SubscribeVideoRtpStatsCallback(
79 const CastTransportRtpStatistics& callback) {
80 rtp_sender_.SubscribeRtpStatsCallback(callback);
81 }
82
83 } // namespace transport 78 } // namespace transport
84 } // namespace cast 79 } // namespace cast
85 } // namespace media 80 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/transport/transport_video_sender.h ('k') | media/cast/video_sender/video_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698