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/cast_config.h" | 5 #include "media/cast/cast_config.h" |
6 | 6 |
7 namespace media { | 7 namespace media { |
8 namespace cast { | 8 namespace cast { |
9 | 9 |
10 // TODO(miu): Revisit code factoring of these structs. There are a number of | 10 // TODO(miu): Revisit code factoring of these structs. There are a number of |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 AudioSenderConfig::AudioSenderConfig() | 42 AudioSenderConfig::AudioSenderConfig() |
43 : incoming_feedback_ssrc(0), | 43 : incoming_feedback_ssrc(0), |
44 rtcp_interval(kDefaultRtcpIntervalMs), | 44 rtcp_interval(kDefaultRtcpIntervalMs), |
45 rtcp_mode(kRtcpReducedSize), | 45 rtcp_mode(kRtcpReducedSize), |
46 use_external_encoder(false), | 46 use_external_encoder(false), |
47 frequency(0), | 47 frequency(0), |
48 channels(0), | 48 channels(0), |
49 bitrate(0) {} | 49 bitrate(0) {} |
50 | 50 |
51 AudioReceiverConfig::AudioReceiverConfig() | 51 FrameReceiverConfig::FrameReceiverConfig() |
52 : feedback_ssrc(0), | 52 : feedback_ssrc(0), |
53 incoming_ssrc(0), | 53 incoming_ssrc(0), |
54 rtcp_interval(kDefaultRtcpIntervalMs), | 54 rtcp_interval(kDefaultRtcpIntervalMs), |
55 rtcp_mode(kRtcpReducedSize), | 55 rtcp_mode(kRtcpReducedSize), |
56 rtp_max_delay_ms(kDefaultRtpMaxDelayMs), | 56 rtp_max_delay_ms(kDefaultRtpMaxDelayMs), |
57 rtp_payload_type(0), | 57 rtp_payload_type(0), |
58 use_external_decoder(false), | |
59 frequency(0), | 58 frequency(0), |
60 channels(0) {} | 59 channels(0), |
| 60 max_frame_rate(0) {} |
61 | 61 |
62 VideoReceiverConfig::VideoReceiverConfig() | 62 FrameReceiverConfig::~FrameReceiverConfig() {} |
63 : feedback_ssrc(0), | |
64 incoming_ssrc(0), | |
65 rtcp_interval(kDefaultRtcpIntervalMs), | |
66 rtcp_mode(kRtcpReducedSize), | |
67 rtp_max_delay_ms(kDefaultRtpMaxDelayMs), | |
68 rtp_payload_type(0), | |
69 use_external_decoder(false), | |
70 max_frame_rate(kDefaultMaxFrameRate), | |
71 decoder_faster_than_max_frame_rate(true), | |
72 codec(transport::kVp8) {} | |
73 | 63 |
74 } // namespace cast | 64 } // namespace cast |
75 } // namespace media | 65 } // namespace media |
OLD | NEW |