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

Side by Side Diff: media/cast/transport/transport_audio_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
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_audio_sender.h" 5 #include "media/cast/transport/transport_audio_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/cast/transport/rtp_sender/rtp_sender.h" 10 #include "media/cast/transport/rtp_sender/rtp_sender.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 62
63 void TransportAudioSender::ResendPackets( 63 void TransportAudioSender::ResendPackets(
64 const MissingFramesAndPacketsMap& missing_frames_and_packets) { 64 const MissingFramesAndPacketsMap& missing_frames_and_packets) {
65 if (!initialized_) { 65 if (!initialized_) {
66 return; 66 return;
67 } 67 }
68 rtp_sender_.ResendPackets(missing_frames_and_packets); 68 rtp_sender_.ResendPackets(missing_frames_and_packets);
69 } 69 }
70 70
71 void TransportAudioSender::SubscribeAudioRtpStatsCallback(
72 const CastTransportRtpStatistics& callback) {
73 rtp_sender_.SubscribeRtpStatsCallback(callback);
74 }
75
76 } // namespace transport 71 } // namespace transport
77 } // namespace cast 72 } // namespace cast
78 } // namespace media 73 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/transport/transport_audio_sender.h ('k') | media/cast/transport/transport_video_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698