Index: media/cast/net/rtp/rtp_defines.h |
diff --git a/media/cast/net/rtp/rtp_defines.h b/media/cast/net/rtp/rtp_defines.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e13c61cc417404603413dbd8f25270b83d2006c8 |
--- /dev/null |
+++ b/media/cast/net/rtp/rtp_defines.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+namespace media { |
+namespace cast { |
+ |
+static const uint16 kRtpHeaderLength = 12; |
+static const uint16 kCastHeaderLength = 7; |
+static const uint8 kRtpExtensionBitMask = 0x10; |
+static const uint8 kCastKeyFrameBitMask = 0x80; |
+static const uint8 kCastReferenceFrameIdBitMask = 0x40; |
+static const uint8 kRtpMarkerBitMask = 0x80; |
+static const uint8 kCastExtensionCountmask = 0x3f; |
+ |
+// Cast RTP extensions. |
+static const uint8 kCastRTPExtensionAdaptiveLatency = 1; |
Alpha Left Google
2014/08/20 20:17:05
nit: kCastRtpExtensionAdaptiveLatency to be consis
hubbe
2014/08/20 21:42:01
Done.
|
+ |
+} // namespace cast |
+} // namespace media |