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

Unified Diff: media/cast/cast_defines.h

Issue 163553006: Cast: Refactoring Cast API's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_defines.h
diff --git a/media/cast/cast_defines.h b/media/cast/cast_defines.h
index 2e0986fef765a2e6c1a60996a5203f2a828221a9..2ee431e827296c86ceac43b09a6c31ed765e91b5 100644
--- a/media/cast/cast_defines.h
+++ b/media/cast/cast_defines.h
@@ -29,6 +29,20 @@ const int kStartRttMs = 20;
const int64 kCastMessageUpdateIntervalMs = 33;
const int64 kNackRepeatIntervalMs = 30;
+enum CastInitializationStatus {
+ STATUS_AUDIO_UNINITIALIZED,
+ STATUS_VIDEO_UNINITIALIZED,
+ STATUS_AUDIO_INITIALIZED,
+ STATUS_VIDEO_INITIALIZED,
+ STATUS_INVALID_CAST_ENVIRONMENT,
+ STATUS_INVALID_CRYPTO_CONFIGURATION,
+ STATUS_UNSUPPORTED_AUDIO_CODEC,
+ STATUS_INVALID_AUDIO_CONFIGURATION,
+ STATUS_INVALID_VIDEO_CONFIGURATION,
+ STATUS_GPU_ACCELERATION_NOT_SUPPORTED,
+ STATUS_GPU_ACCELERATION_ERROR,
+};
+
enum DefaultSettings {
kDefaultAudioEncoderBitrate = 0, // This means "auto," and may mean VBR.
kDefaultAudioSamplingRate = 48000,
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698