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

Unified Diff: media/cast/net/rtp/rtp_defines.h

Issue 493823002: Implement adaptive target delay extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicit masking Created 6 years, 4 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/net/rtp/frame_buffer.cc ('k') | media/cast/net/rtp/rtp_packetizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..56df66d4d21ce88f68e8579a6c66b6f874b65dd2
--- /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;
+
+} // namespace cast
+} // namespace media
« no previous file with comments | « media/cast/net/rtp/frame_buffer.cc ('k') | media/cast/net/rtp/rtp_packetizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698