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 RtpConfig::RtpConfig() | 16 RtpConfig::RtpConfig() |
17 : history_ms(kDefaultRtpHistoryMs), | 17 : history_ms(kDefaultRtpHistoryMs), |
18 max_delay_ms(kDefaultRtpMaxDelayMs), | 18 max_delay_ms(kDefaultRtpMaxDelayMs), |
19 payload_type(0) {} | 19 payload_type(0) {} |
20 | 20 |
21 CastTransportConfig::CastTransportConfig() | 21 CastTransportConfig::CastTransportConfig() |
22 : audio_ssrc(0), | 22 : audio_ssrc(0), |
23 video_ssrc(0), | 23 video_ssrc(0), |
24 video_codec(kVp8), | 24 video_codec(kVp8), |
25 audio_codec(kOpus), | 25 audio_codec(kOpus), |
26 audio_frequency(0), | 26 audio_frequency(0), |
27 audio_channels(0), | 27 audio_channels(0), |
28 aes_key(""), | 28 aes_key(""), |
29 aes_iv_mask("") {} | 29 aes_iv_mask(""), |
| 30 enable_raw_event_logging(false) {} |
30 | 31 |
31 CastTransportConfig::~CastTransportConfig() {} | 32 CastTransportConfig::~CastTransportConfig() {} |
32 | 33 |
33 EncodedVideoFrame::EncodedVideoFrame() | 34 EncodedVideoFrame::EncodedVideoFrame() |
34 : codec(kVp8), | 35 : codec(kVp8), |
35 key_frame(false), | 36 key_frame(false), |
36 frame_id(0), | 37 frame_id(0), |
37 last_referenced_frame_id(0), | 38 last_referenced_frame_id(0), |
38 rtp_timestamp(0) {} | 39 rtp_timestamp(0) {} |
39 EncodedVideoFrame::~EncodedVideoFrame() {} | 40 EncodedVideoFrame::~EncodedVideoFrame() {} |
(...skipping 30 matching lines...) Expand all Loading... |
70 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} | 71 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} |
71 | 72 |
72 SendRtcpFromRtpSenderData::SendRtcpFromRtpSenderData() | 73 SendRtcpFromRtpSenderData::SendRtcpFromRtpSenderData() |
73 : packet_type_flags(0), | 74 : packet_type_flags(0), |
74 sending_ssrc(0) {} | 75 sending_ssrc(0) {} |
75 SendRtcpFromRtpSenderData::~SendRtcpFromRtpSenderData() {} | 76 SendRtcpFromRtpSenderData::~SendRtcpFromRtpSenderData() {} |
76 | 77 |
77 } // namespace transport | 78 } // namespace transport |
78 } // namespace cast | 79 } // namespace cast |
79 } // namespace media | 80 } // namespace media |
OLD | NEW |