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

Unified Diff: media/cast/net/cast_transport_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/common/transport_encryption_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/cast_transport_config.h
diff --git a/media/cast/net/cast_transport_config.h b/media/cast/net/cast_transport_config.h
index abace7f8ca8e76a58714a18920b57519518ff00f..81b7c655546da69652b9b06ba9abd46258d0c186 100644
--- a/media/cast/net/cast_transport_config.h
+++ b/media/cast/net/cast_transport_config.h
@@ -13,54 +13,13 @@
#include "base/callback.h"
#include "base/stl_util.h"
+#include "media/cast/cast_config.h"
#include "media/cast/common/rtp_time.h"
#include "media/cast/net/cast_transport_defines.h"
namespace media {
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
-};
-
struct CastTransportRtpConfig {
CastTransportRtpConfig();
~CastTransportRtpConfig();
« no previous file with comments | « media/cast/common/transport_encryption_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698