struct DecoderPacket

DecoderPacket. More...

Full nameCoral::DecoderPacket
Definition#include <decoderinterface.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

This structure contains packet information for handleNextPacket() call.

void* Buffer

Buffer to write packet payload into.

cardinal Length

Maximum length of payload to be written into Buffer.

card16 SequenceNumber

The packet's sequence number.

card32 TimeStamp

The packet's time stamp.

card8 PayloadType

The packet's payload type.

bool Marker

The packet's marker.

SourceStateInfo** SSIArray

Source state info array for packet validation within handleNextPacket().

cardinal Layer

The packet's layer number, to be set within handleNextPacket(). This is used in RTPReceiver to decide to which layer the packet's FlowInfo belongs. Set Layer (cardinal)-1, if the packet does not belong to a layer, is invalid etc.

cardinal Layers

The number of layers of the packet's encoding quality, to be set within handleNextPacket(). Set to (cardinal)-1, if the packet does not belong to a layer, is invalid etc.