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 11 matching lines...) Expand all Loading... |
22 // these classes to centralize the logic? | 22 // these classes to centralize the logic? |
23 | 23 |
24 VideoSenderConfig::VideoSenderConfig() | 24 VideoSenderConfig::VideoSenderConfig() |
25 : ssrc(0), | 25 : ssrc(0), |
26 receiver_ssrc(0), | 26 receiver_ssrc(0), |
27 rtcp_interval(kDefaultRtcpIntervalMs), | 27 rtcp_interval(kDefaultRtcpIntervalMs), |
28 max_playout_delay( | 28 max_playout_delay( |
29 base::TimeDelta::FromMilliseconds(kDefaultRtpMaxDelayMs)), | 29 base::TimeDelta::FromMilliseconds(kDefaultRtpMaxDelayMs)), |
30 rtp_payload_type(0), | 30 rtp_payload_type(0), |
31 use_external_encoder(false), | 31 use_external_encoder(false), |
32 width(0), | |
33 height(0), | |
34 congestion_control_back_off(kDefaultCongestionControlBackOff), | 32 congestion_control_back_off(kDefaultCongestionControlBackOff), |
35 max_bitrate(5000000), | 33 max_bitrate(5000000), |
36 min_bitrate(1000000), | 34 min_bitrate(1000000), |
37 start_bitrate(5000000), | 35 start_bitrate(5000000), |
38 max_qp(kDefaultMaxQp), | 36 max_qp(kDefaultMaxQp), |
39 min_qp(kDefaultMinQp), | 37 min_qp(kDefaultMinQp), |
40 max_frame_rate(kDefaultMaxFrameRate), | 38 max_frame_rate(kDefaultMaxFrameRate), |
41 max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers), | 39 max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers), |
42 codec(CODEC_VIDEO_VP8), | 40 codec(CODEC_VIDEO_VP8), |
43 number_of_encode_threads(1) {} | 41 number_of_encode_threads(1) {} |
(...skipping 23 matching lines...) Expand all Loading... |
67 rtp_payload_type(0), | 65 rtp_payload_type(0), |
68 rtp_timebase(0), | 66 rtp_timebase(0), |
69 channels(0), | 67 channels(0), |
70 target_frame_rate(0), | 68 target_frame_rate(0), |
71 codec(CODEC_UNKNOWN) {} | 69 codec(CODEC_UNKNOWN) {} |
72 | 70 |
73 FrameReceiverConfig::~FrameReceiverConfig() {} | 71 FrameReceiverConfig::~FrameReceiverConfig() {} |
74 | 72 |
75 } // namespace cast | 73 } // namespace cast |
76 } // namespace media | 74 } // namespace media |
OLD | NEW |