| 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 #ifndef MEDIA_CAST_CAST_CONFIG_H_ | 5 #ifndef MEDIA_CAST_CAST_CONFIG_H_ |
| 6 #define MEDIA_CAST_CAST_CONFIG_H_ | 6 #define MEDIA_CAST_CAST_CONFIG_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // media/cast directory. http://crbug.com/530839 | 26 // media/cast directory. http://crbug.com/530839 |
| 27 enum SuggestedDefaults { | 27 enum SuggestedDefaults { |
| 28 // Audio encoder bitrate. Zero means "auto," which asks the encoder to select | 28 // Audio encoder bitrate. Zero means "auto," which asks the encoder to select |
| 29 // a bitrate that dynamically adjusts to the content. Otherwise, a constant | 29 // a bitrate that dynamically adjusts to the content. Otherwise, a constant |
| 30 // bitrate is used. | 30 // bitrate is used. |
| 31 kDefaultAudioEncoderBitrate = 0, | 31 kDefaultAudioEncoderBitrate = 0, |
| 32 | 32 |
| 33 // Suggested default audio sampling rate. | 33 // Suggested default audio sampling rate. |
| 34 kDefaultAudioSamplingRate = 48000, | 34 kDefaultAudioSamplingRate = 48000, |
| 35 | 35 |
| 36 // RTP timebase for media remoting RTP streams. |
| 37 kRemotingRtpTimebase = 90000, |
| 38 |
| 36 // Suggested default maximum video frame rate. | 39 // Suggested default maximum video frame rate. |
| 37 kDefaultMaxFrameRate = 30, | 40 kDefaultMaxFrameRate = 30, |
| 38 | 41 |
| 39 // End-to-end latency in milliseconds. | 42 // End-to-end latency in milliseconds. |
| 40 // | 43 // |
| 41 // DO NOT USE THIS (400 ms is proven as ideal for general-purpose use). | 44 // DO NOT USE THIS (400 ms is proven as ideal for general-purpose use). |
| 42 // | 45 // |
| 43 // TODO(miu): Change to 400, and confirm nothing has broken in later change. | 46 // TODO(miu): Change to 400, and confirm nothing has broken in later change. |
| 44 // http://crbug.com/530839 | 47 // http://crbug.com/530839 |
| 45 kDefaultRtpMaxDelayMs = 100, | 48 kDefaultRtpMaxDelayMs = 100, |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 typedef base::Callback<void(std::unique_ptr<base::SharedMemory>)> | 213 typedef base::Callback<void(std::unique_ptr<base::SharedMemory>)> |
| 211 ReceiveVideoEncodeMemoryCallback; | 214 ReceiveVideoEncodeMemoryCallback; |
| 212 typedef base::Callback<void(size_t size, | 215 typedef base::Callback<void(size_t size, |
| 213 const ReceiveVideoEncodeMemoryCallback&)> | 216 const ReceiveVideoEncodeMemoryCallback&)> |
| 214 CreateVideoEncodeMemoryCallback; | 217 CreateVideoEncodeMemoryCallback; |
| 215 | 218 |
| 216 } // namespace cast | 219 } // namespace cast |
| 217 } // namespace media | 220 } // namespace media |
| 218 | 221 |
| 219 #endif // MEDIA_CAST_CAST_CONFIG_H_ | 222 #endif // MEDIA_CAST_CAST_CONFIG_H_ |
| OLD | NEW |