| 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/cast_transport_config.h" | 5 #include "media/cast/transport/cast_transport_config.h" |
| 6 | 6 |
| 7 namespace media { | 7 namespace media { |
| 8 namespace cast { | 8 namespace cast { |
| 9 namespace transport { | 9 namespace transport { |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 const int kDefaultRtpHistoryMs = 1000; | 12 const int kDefaultRtpHistoryMs = 1000; |
| 13 const int kDefaultRtpMaxDelayMs = 100; | 13 const int kDefaultRtpMaxDelayMs = 100; |
| 14 } // namespace | 14 } // namespace |
| 15 | 15 |
| 16 CastTransportConfig::CastTransportConfig() | 16 CastTransportConfig::CastTransportConfig() |
| 17 : receive_port(0), | 17 : audio_ssrc(0), |
| 18 send_port(0), | |
| 19 audio_ssrc(0), | |
| 20 video_ssrc(0), | 18 video_ssrc(0), |
| 21 video_codec(kVp8), | 19 video_codec(kVp8), |
| 22 audio_codec(kOpus), | 20 audio_codec(kOpus), |
| 23 audio_rtp_history_ms(kDefaultRtpHistoryMs), | 21 audio_rtp_history_ms(kDefaultRtpHistoryMs), |
| 24 video_rtp_history_ms(kDefaultRtpHistoryMs), | 22 video_rtp_history_ms(kDefaultRtpHistoryMs), |
| 25 audio_rtp_max_delay_ms(kDefaultRtpMaxDelayMs), | 23 audio_rtp_max_delay_ms(kDefaultRtpMaxDelayMs), |
| 26 video_rtp_max_delay_ms(kDefaultRtpMaxDelayMs), | 24 video_rtp_max_delay_ms(kDefaultRtpMaxDelayMs), |
| 27 audio_rtp_payload_type(0), | 25 audio_rtp_payload_type(0), |
| 28 video_rtp_payload_type(0), | 26 video_rtp_payload_type(0), |
| 29 audio_frequency(0), | 27 audio_frequency(0), |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 RtcpReportBlock::~RtcpReportBlock() {} | 62 RtcpReportBlock::~RtcpReportBlock() {} |
| 65 | 63 |
| 66 RtcpDlrrReportBlock::RtcpDlrrReportBlock() | 64 RtcpDlrrReportBlock::RtcpDlrrReportBlock() |
| 67 : last_rr(0), | 65 : last_rr(0), |
| 68 delay_since_last_rr(0) {} | 66 delay_since_last_rr(0) {} |
| 69 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} | 67 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} |
| 70 | 68 |
| 71 } // namespace transport | 69 } // namespace transport |
| 72 } // namespace cast | 70 } // namespace cast |
| 73 } // namespace media | 71 } // namespace media |
| OLD | NEW |