| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/rtp_receiver/rtp_receiver.h" | 5 #include "media/cast/rtp_receiver/rtp_receiver.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "media/cast/rtp_common/rtp_defines.h" | |
| 9 #include "media/cast/rtp_receiver/receiver_stats.h" | 8 #include "media/cast/rtp_receiver/receiver_stats.h" |
| 10 #include "media/cast/rtp_receiver/rtp_parser/rtp_parser.h" | 9 #include "media/cast/rtp_receiver/rtp_parser/rtp_parser.h" |
| 10 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" |
| 11 #include "net/base/big_endian.h" | 11 #include "net/base/big_endian.h" |
| 12 | 12 |
| 13 namespace media { | 13 namespace media { |
| 14 namespace cast { | 14 namespace cast { |
| 15 | 15 |
| 16 RtpReceiver::RtpReceiver(base::TickClock* clock, | 16 RtpReceiver::RtpReceiver(base::TickClock* clock, |
| 17 const AudioReceiverConfig* audio_config, | 17 const AudioReceiverConfig* audio_config, |
| 18 const VideoReceiverConfig* video_config, | 18 const VideoReceiverConfig* video_config, |
| 19 RtpData* incoming_payload_callback) { | 19 RtpData* incoming_payload_callback) { |
| 20 DCHECK(incoming_payload_callback) << "Invalid argument"; | 20 DCHECK(incoming_payload_callback) << "Invalid argument"; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 uint32* extended_high_sequence_number, | 61 uint32* extended_high_sequence_number, |
| 62 uint32* jitter) { | 62 uint32* jitter) { |
| 63 stats_->GetStatistics(fraction_lost, | 63 stats_->GetStatistics(fraction_lost, |
| 64 cumulative_lost, | 64 cumulative_lost, |
| 65 extended_high_sequence_number, | 65 extended_high_sequence_number, |
| 66 jitter); | 66 jitter); |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace cast | 69 } // namespace cast |
| 70 } // namespace media | 70 } // namespace media |
| OLD | NEW |