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