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

Unified Diff: media/cast/cast_config.h

Issue 2462863002: Fix direct dependencies in //media/cast/BUILD.gn. (Closed)
Patch Set: Depend on //media rather than //media/base, etc Created 4 years, 1 month 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/BUILD.gn ('k') | media/cast/common/transport_encryption_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_config.h
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h
index 432e90482f5e613a55a12d540c37b433c3dc4b2e..0e32a8f8e72529cb906afe035199a7e5ef5bf2db 100644
--- a/media/cast/cast_config.h
+++ b/media/cast/cast_config.h
@@ -15,13 +15,54 @@
#include "base/memory/shared_memory.h"
#include "base/single_thread_task_runner.h"
#include "base/time/time.h"
-#include "media/cast/net/cast_transport_config.h"
namespace media {
class VideoEncodeAccelerator;
namespace cast {
+enum Codec {
+ CODEC_UNKNOWN,
+ CODEC_AUDIO_OPUS,
+ CODEC_AUDIO_PCM16,
+ CODEC_AUDIO_AAC,
+ CODEC_AUDIO_REMOTE,
+ CODEC_VIDEO_FAKE,
+ CODEC_VIDEO_VP8,
+ CODEC_VIDEO_H264,
+ CODEC_VIDEO_REMOTE,
+ CODEC_LAST = CODEC_VIDEO_REMOTE
+};
+
+// Describes the content being transported over RTP streams.
+enum class RtpPayloadType {
+ UNKNOWN = -1,
+
+ // Cast Streaming will encode raw audio frames using one of its available
+ // codec implementations, and transport encoded data in the RTP stream.
+ FIRST = 96,
+ AUDIO_OPUS = 96,
+ AUDIO_AAC = 97,
+ AUDIO_PCM16 = 98,
+
+ // Audio frame data is not modified, and should be transported reliably and
+ // in-sequence. No assumptions about the data can be made.
+ REMOTE_AUDIO = 99,
+
+ AUDIO_LAST = REMOTE_AUDIO,
+
+ // Cast Streaming will encode raw video frames using one of its available
+ // codec implementations, and transport encoded data in the RTP stream.
+ VIDEO_VP8 = 100,
+ VIDEO_H264 = 101,
+
+ // Video frame data is not modified, and should be transported reliably and
+ // in-sequence. No assumptions about the data can be made.
+ REMOTE_VIDEO = 102,
+
+ LAST = REMOTE_VIDEO
+};
+
// TODO(miu): Eliminate these after moving "default config" into the top-level
// media/cast directory. http://crbug.com/530839
enum SuggestedDefaults {
« no previous file with comments | « media/cast/BUILD.gn ('k') | media/cast/common/transport_encryption_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698