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; | |
13 const int kDefaultRtpMaxDelayMs = 100; | 12 const int kDefaultRtpMaxDelayMs = 100; |
14 } // namespace | 13 } // namespace |
15 | 14 |
16 RtpConfig::RtpConfig() | 15 RtpConfig::RtpConfig() |
17 : history_ms(kDefaultRtpHistoryMs), | 16 : ssrc(0), |
18 max_delay_ms(kDefaultRtpMaxDelayMs), | 17 max_delay_ms(kDefaultRtpMaxDelayMs), |
19 payload_type(0) {} | 18 payload_type(0) {} |
20 | 19 |
21 CastTransportBaseConfig::CastTransportBaseConfig() | 20 RtpConfig::~RtpConfig() {} |
22 : ssrc(0) {} | |
23 | 21 |
24 CastTransportBaseConfig::~CastTransportBaseConfig() {} | 22 CastTransportRtpConfig::CastTransportRtpConfig() |
| 23 : max_outstanding_frames(-1) {} |
| 24 |
| 25 CastTransportRtpConfig::~CastTransportRtpConfig() {} |
25 | 26 |
26 CastTransportAudioConfig::CastTransportAudioConfig() | 27 CastTransportAudioConfig::CastTransportAudioConfig() |
27 : codec(kOpus), frequency(0), channels(0) {} | 28 : codec(kOpus), frequency(0), channels(0) {} |
28 | 29 |
29 CastTransportAudioConfig::~CastTransportAudioConfig() {} | 30 CastTransportAudioConfig::~CastTransportAudioConfig() {} |
30 | 31 |
31 CastTransportVideoConfig::CastTransportVideoConfig() : codec(kVp8) {} | 32 CastTransportVideoConfig::CastTransportVideoConfig() : codec(kVp8) {} |
32 | 33 |
33 CastTransportVideoConfig::~CastTransportVideoConfig() {} | 34 CastTransportVideoConfig::~CastTransportVideoConfig() {} |
34 | 35 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 : last_rr(0), delay_since_last_rr(0) {} | 72 : last_rr(0), delay_since_last_rr(0) {} |
72 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} | 73 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} |
73 | 74 |
74 SendRtcpFromRtpSenderData::SendRtcpFromRtpSenderData() | 75 SendRtcpFromRtpSenderData::SendRtcpFromRtpSenderData() |
75 : packet_type_flags(0), sending_ssrc(0) {} | 76 : packet_type_flags(0), sending_ssrc(0) {} |
76 SendRtcpFromRtpSenderData::~SendRtcpFromRtpSenderData() {} | 77 SendRtcpFromRtpSenderData::~SendRtcpFromRtpSenderData() {} |
77 | 78 |
78 } // namespace transport | 79 } // namespace transport |
79 } // namespace cast | 80 } // namespace cast |
80 } // namespace media | 81 } // namespace media |
OLD | NEW |