| 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 { |
| 8 const float kDefaultCongestionControlBackOff = 0.875f; |
| 9 } // namespace |
| 10 |
| 7 namespace media { | 11 namespace media { |
| 8 namespace cast { | 12 namespace cast { |
| 9 | 13 |
| 10 // TODO(miu): Revisit code factoring of these structs. There are a number of | 14 // TODO(miu): Revisit code factoring of these structs. There are a number of |
| 11 // common elements between them all, so it might be reasonable to only have one | 15 // common elements between them all, so it might be reasonable to only have one |
| 12 // or two structs; or, at least a common base class. | 16 // or two structs; or, at least a common base class. |
| 13 | 17 |
| 14 // TODO(miu): Make sure all POD members are initialized by ctors. Policy | 18 // TODO(miu): Make sure all POD members are initialized by ctors. Policy |
| 15 // decision: Reasonable defaults or use invalid placeholder values to expose | 19 // decision: Reasonable defaults or use invalid placeholder values to expose |
| 16 // unset members? | 20 // unset members? |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 rtp_payload_type(0), | 66 rtp_payload_type(0), |
| 63 rtp_timebase(0), | 67 rtp_timebase(0), |
| 64 channels(0), | 68 channels(0), |
| 65 target_frame_rate(0), | 69 target_frame_rate(0), |
| 66 codec(CODEC_UNKNOWN) {} | 70 codec(CODEC_UNKNOWN) {} |
| 67 | 71 |
| 68 FrameReceiverConfig::~FrameReceiverConfig() {} | 72 FrameReceiverConfig::~FrameReceiverConfig() {} |
| 69 | 73 |
| 70 } // namespace cast | 74 } // namespace cast |
| 71 } // namespace media | 75 } // namespace media |
| OLD | NEW |