Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / media / cast / net / rtp / rtp_defines.h
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.
4
5 namespace media {
6 namespace cast {
7
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;
15
16 // Cast RTP extensions.
17 static const uint8 kCastRtpExtensionAdaptiveLatency = 1;
18
19 }  // namespace cast
20 }  // namespace media