Class RtpVP8Header
Representation of the VP8 RTP header as specified in RFC7741. See https://tools.ietf.org/html/rfc7741.
Inherited Members
Namespace: SipLib.Video
Assembly: SipLib.dll
Syntax
public class RtpVP8Header
Fields
| Edit this page View SourceExtendedControlBitsPresent
Indicates whether extended control bits are present.
Declaration
public bool ExtendedControlBitsPresent
Field Value
Type | Description |
---|---|
bool |
FirstPartitionSize
The size of the first partition in bytes is calculated from the 19 bits in Size0, Size1 and Size2 as: size = Size0 + (8 x Size1) + (2048 8 Size2).
Declaration
public int FirstPartitionSize
Field Value
Type | Description |
---|---|
int |
IsPictureIDPresent
If true then the PictureID field is present in the VP8 header
Declaration
public bool IsPictureIDPresent
Field Value
Type | Description |
---|---|
bool |
NonReferenceFrame
When set indicates the frame can be discarded without affecting any other frames.
Declaration
public bool NonReferenceFrame
Field Value
Type | Description |
---|---|
bool |
PartitionIndex
Denotes the VP8 partition index that the first payload octet of the packet belongs to.
Declaration
public byte PartitionIndex
Field Value
Type | Description |
---|---|
byte |
PictureID
Contains the PictureID field. Valid only if IsPictureIDPresent is true.
Declaration
public ushort PictureID
Field Value
Type | Description |
---|---|
ushort |
StartOfVP8Partition
Should be set when the first payload octet is the start of a new VP8 partition.
Declaration
public bool StartOfVP8Partition
Field Value
Type | Description |
---|---|
bool |
Properties
| Edit this page View SourceLength
Gets the length of the VP8 header.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
int |
PayloadDescriptorLength
Gets the length of the Payload Descriptor in the VP8 header.
Declaration
public int PayloadDescriptorLength { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceGetVP8Header(byte[])
Gets the RtpVP8Header from the payload of an RTP packet
Declaration
public static RtpVP8Header GetVP8Header(byte[] rtpPayload)
Parameters
Type | Name | Description |
---|---|---|
byte[] | rtpPayload | Payload of the received RTP packet. |
Returns
Type | Description |
---|---|
RtpVP8Header | Returns a new RtpVP8header object. |