Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1391)

Side by Side Diff: media/cast/cast_config.cc

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/cast_defines.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 22 matching lines...) Expand all
33 width(0), 33 width(0),
34 height(0), 34 height(0),
35 congestion_control_back_off(kDefaultCongestionControlBackOff), 35 congestion_control_back_off(kDefaultCongestionControlBackOff),
36 max_bitrate(5000000), 36 max_bitrate(5000000),
37 min_bitrate(1000000), 37 min_bitrate(1000000),
38 start_bitrate(5000000), 38 start_bitrate(5000000),
39 max_qp(kDefaultMaxQp), 39 max_qp(kDefaultMaxQp),
40 min_qp(kDefaultMinQp), 40 min_qp(kDefaultMinQp),
41 max_frame_rate(kDefaultMaxFrameRate), 41 max_frame_rate(kDefaultMaxFrameRate),
42 max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers), 42 max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers),
43 codec(transport::CODEC_VIDEO_VP8), 43 codec(CODEC_VIDEO_VP8),
44 number_of_encode_threads(1) {} 44 number_of_encode_threads(1) {}
45 45
46 VideoSenderConfig::~VideoSenderConfig() {} 46 VideoSenderConfig::~VideoSenderConfig() {}
47 47
48 AudioSenderConfig::AudioSenderConfig() 48 AudioSenderConfig::AudioSenderConfig()
49 : ssrc(0), 49 : ssrc(0),
50 incoming_feedback_ssrc(0), 50 incoming_feedback_ssrc(0),
51 rtcp_interval(kDefaultRtcpIntervalMs), 51 rtcp_interval(kDefaultRtcpIntervalMs),
52 rtcp_mode(kRtcpReducedSize), 52 rtcp_mode(kRtcpReducedSize),
53 target_playout_delay( 53 target_playout_delay(
54 base::TimeDelta::FromMilliseconds(kDefaultRtpMaxDelayMs)), 54 base::TimeDelta::FromMilliseconds(kDefaultRtpMaxDelayMs)),
55 rtp_payload_type(0), 55 rtp_payload_type(0),
56 use_external_encoder(false), 56 use_external_encoder(false),
57 frequency(0), 57 frequency(0),
58 channels(0), 58 channels(0),
59 bitrate(0), 59 bitrate(0),
60 codec(transport::CODEC_AUDIO_OPUS) {} 60 codec(CODEC_AUDIO_OPUS) {}
61 61
62 AudioSenderConfig::~AudioSenderConfig() {} 62 AudioSenderConfig::~AudioSenderConfig() {}
63 63
64 FrameReceiverConfig::FrameReceiverConfig() 64 FrameReceiverConfig::FrameReceiverConfig()
65 : feedback_ssrc(0), 65 : feedback_ssrc(0),
66 incoming_ssrc(0), 66 incoming_ssrc(0),
67 rtcp_interval(kDefaultRtcpIntervalMs), 67 rtcp_interval(kDefaultRtcpIntervalMs),
68 rtcp_mode(kRtcpReducedSize), 68 rtcp_mode(kRtcpReducedSize),
69 rtp_max_delay_ms(kDefaultRtpMaxDelayMs), 69 rtp_max_delay_ms(kDefaultRtpMaxDelayMs),
70 rtp_payload_type(0), 70 rtp_payload_type(0),
71 frequency(0), 71 frequency(0),
72 channels(0), 72 channels(0),
73 max_frame_rate(0), 73 max_frame_rate(0),
74 codec(transport::CODEC_UNKNOWN) {} 74 codec(CODEC_UNKNOWN) {}
75 75
76 FrameReceiverConfig::~FrameReceiverConfig() {} 76 FrameReceiverConfig::~FrameReceiverConfig() {}
77 77
78 } // namespace cast 78 } // namespace cast
79 } // namespace media 79 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/cast_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698