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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 rtp_payload_type(0), | 51 rtp_payload_type(0), |
52 use_external_encoder(false), | 52 use_external_encoder(false), |
53 frequency(0), | 53 frequency(0), |
54 channels(0), | 54 channels(0), |
55 bitrate(0), | 55 bitrate(0), |
56 codec(CODEC_AUDIO_OPUS) {} | 56 codec(CODEC_AUDIO_OPUS) {} |
57 | 57 |
58 AudioSenderConfig::~AudioSenderConfig() {} | 58 AudioSenderConfig::~AudioSenderConfig() {} |
59 | 59 |
60 FrameReceiverConfig::FrameReceiverConfig() | 60 FrameReceiverConfig::FrameReceiverConfig() |
61 : feedback_ssrc(0), | 61 : receiver_ssrc(0), |
62 incoming_ssrc(0), | 62 sender_ssrc(0), |
63 rtcp_interval(kDefaultRtcpIntervalMs), | 63 rtcp_interval(kDefaultRtcpIntervalMs), |
64 rtp_max_delay_ms(kDefaultRtpMaxDelayMs), | 64 rtp_max_delay_ms(kDefaultRtpMaxDelayMs), |
65 rtp_payload_type(0), | 65 rtp_payload_type(0), |
66 rtp_timebase(0), | 66 rtp_timebase(0), |
67 channels(0), | 67 channels(0), |
68 target_frame_rate(0), | 68 target_frame_rate(0), |
69 codec(CODEC_UNKNOWN) {} | 69 codec(CODEC_UNKNOWN) {} |
70 | 70 |
71 FrameReceiverConfig::~FrameReceiverConfig() {} | 71 FrameReceiverConfig::~FrameReceiverConfig() {} |
72 | 72 |
73 } // namespace cast | 73 } // namespace cast |
74 } // namespace media | 74 } // namespace media |
OLD | NEW |