Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / cast / net / rtp / rtp_defines.h
blob56df66d4d21ce88f68e8579a6c66b6f874b65dd2
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 namespace media {
6 namespace cast {
8 static const uint16 kRtpHeaderLength = 12;
9 static const uint16 kCastHeaderLength = 7;
10 static const uint8 kRtpExtensionBitMask = 0x10;
11 static const uint8 kCastKeyFrameBitMask = 0x80;
12 static const uint8 kCastReferenceFrameIdBitMask = 0x40;
13 static const uint8 kRtpMarkerBitMask = 0x80;
14 static const uint8 kCastExtensionCountmask = 0x3f;
16 // Cast RTP extensions.
17 static const uint8 kCastRtpExtensionAdaptiveLatency = 1;
19 } // namespace cast
20 } // namespace media