| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |