| 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_DEFINES_H_ | 5 #ifndef MEDIA_CAST_CAST_DEFINES_H_ | 
| 6 #define MEDIA_CAST_CAST_DEFINES_H_ | 6 #define MEDIA_CAST_CAST_DEFINES_H_ | 
| 7 | 7 | 
| 8 #include <stdint.h> | 8 #include <stdint.h> | 
| 9 | 9 | 
| 10 #include <map> | 10 #include <map> | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 33 const int64 kNackRepeatIntervalMs = 30; | 33 const int64 kNackRepeatIntervalMs = 30; | 
| 34 | 34 | 
| 35 enum CastInitializationStatus { | 35 enum CastInitializationStatus { | 
| 36   STATUS_AUDIO_UNINITIALIZED, | 36   STATUS_AUDIO_UNINITIALIZED, | 
| 37   STATUS_VIDEO_UNINITIALIZED, | 37   STATUS_VIDEO_UNINITIALIZED, | 
| 38   STATUS_AUDIO_INITIALIZED, | 38   STATUS_AUDIO_INITIALIZED, | 
| 39   STATUS_VIDEO_INITIALIZED, | 39   STATUS_VIDEO_INITIALIZED, | 
| 40   STATUS_INVALID_CAST_ENVIRONMENT, | 40   STATUS_INVALID_CAST_ENVIRONMENT, | 
| 41   STATUS_INVALID_CRYPTO_CONFIGURATION, | 41   STATUS_INVALID_CRYPTO_CONFIGURATION, | 
| 42   STATUS_UNSUPPORTED_AUDIO_CODEC, | 42   STATUS_UNSUPPORTED_AUDIO_CODEC, | 
|  | 43   STATUS_UNSUPPORTED_VIDEO_CODEC, | 
| 43   STATUS_INVALID_AUDIO_CONFIGURATION, | 44   STATUS_INVALID_AUDIO_CONFIGURATION, | 
| 44   STATUS_INVALID_VIDEO_CONFIGURATION, | 45   STATUS_INVALID_VIDEO_CONFIGURATION, | 
| 45   STATUS_GPU_ACCELERATION_NOT_SUPPORTED, | 46   STATUS_GPU_ACCELERATION_NOT_SUPPORTED, | 
| 46   STATUS_GPU_ACCELERATION_ERROR, | 47   STATUS_GPU_ACCELERATION_ERROR, | 
| 47 }; | 48 }; | 
| 48 | 49 | 
| 49 enum DefaultSettings { | 50 enum DefaultSettings { | 
| 50   kDefaultAudioEncoderBitrate = 0,  // This means "auto," and may mean VBR. | 51   kDefaultAudioEncoderBitrate = 0,  // This means "auto," and may mean VBR. | 
| 51   kDefaultAudioSamplingRate = 48000, | 52   kDefaultAudioSamplingRate = 48000, | 
| 52   kDefaultMaxQp = 56, | 53   kDefaultMaxQp = 56, | 
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 221   base::TimeTicks time_sent_; | 222   base::TimeTicks time_sent_; | 
| 222   uint32 rtp_timestamp_; | 223   uint32 rtp_timestamp_; | 
| 223 | 224 | 
| 224   DISALLOW_COPY_AND_ASSIGN(RtpSenderStatistics); | 225   DISALLOW_COPY_AND_ASSIGN(RtpSenderStatistics); | 
| 225 }; | 226 }; | 
| 226 | 227 | 
| 227 }  // namespace cast | 228 }  // namespace cast | 
| 228 }  // namespace media | 229 }  // namespace media | 
| 229 | 230 | 
| 230 #endif  // MEDIA_CAST_CAST_DEFINES_H_ | 231 #endif  // MEDIA_CAST_CAST_DEFINES_H_ | 
| OLD | NEW | 
|---|