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

Unified Diff: trunk/src/media/cast/transport/cast_transport_defines.h

Issue 129113003: Revert 243647 "Cast:Adding cast_transport_config and cleaning up" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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
Index: trunk/src/media/cast/transport/cast_transport_defines.h
===================================================================
--- trunk/src/media/cast/transport/cast_transport_defines.h (revision 243647)
+++ trunk/src/media/cast/transport/cast_transport_defines.h (working copy)
@@ -6,46 +6,14 @@
#define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_
#include <list>
-#include <map>
-#include <set>
-
#include "base/basictypes.h"
-#include "base/time/time.h"
namespace media {
namespace cast {
namespace transport {
-enum CastTransportStatus {
- UNINITIALIZED,
- INITIALIZED,
- INVALID_CRYPTO_CONFIG,
- SOCKET_ERROR,
- // TODO(mikhal): Add.
-};
-
-const size_t kMaxIpPacketSize = 1500;
-// Each uint16 represents one packet id within a cast frame.
-typedef std::set<uint16> PacketIdSet;
-// Each uint8 represents one cast frame.
-typedef std::map<uint8, PacketIdSet> MissingFramesAndPacketsMap;
-
// Rtcp defines.
-enum RtcpPacketTypes {
- kPacketTypeLow = 194, // SMPTE time-code mapping.
- kPacketTypeInterArrivalJitterReport = 195,
- kPacketTypeSenderReport = 200,
- kPacketTypeReceiverReport = 201,
- kPacketTypeSdes = 202,
- kPacketTypeBye = 203,
- kPacketTypeApplicationDefined = 204,
- kPacketTypeGenericRtpFeedback = 205,
- kPacketTypePayloadSpecific = 206,
- kPacketTypeXr = 207,
- kPacketTypeHigh = 210, // Port Mapping.
-};
-
// Log messages form sender to receiver.
enum RtcpSenderFrameStatus {
kRtcpSenderFrameStatusUnknown = 0,
« no previous file with comments | « trunk/src/media/cast/transport/cast_transport_config.cc ('k') | trunk/src/media/cast/transport/cast_transport_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698