fm.liveswitch.vp8.Fragment Class Reference

A VP8 packet fragment. More...

Public Member Functions

 Fragment (fm.liveswitch.RtpPacketHeader header, fm.liveswitch.DataBuffer dataBuffer)
 Initializes a new instance of the fm.liveswitch.vp8.Fragment class. More...
 
int getKeyIndex ()
 Gets the key index. More...
 
boolean getLayerSync ()
 Gets whether layer sync is set. More...
 
boolean getNonReferenceFrame ()
 Gets whether this fragment belongs to a non-reference frame. More...
 
int getPartitionIndex ()
 Gets the partition index. More...
 
int getPictureId ()
 Gets the picture ID. More...
 
int getRtpSequenceNumber ()
 Gets the RTP sequence number. More...
 
long getRtpTimestamp ()
 Gets the RTP timestamp. More...
 
boolean getStartOfPartition ()
 Gets whether this fragment is the start of a partition. More...
 
int getTemporalLayerIndex ()
 Gets the temporal layer index. More...
 
int getTemporalLevelZeroIndex ()
 Gets the temporal level zero index. More...
 
- Public Member Functions inherited from fm.liveswitch.VideoFragment
void destroy ()
 Destroys this fragment. More...
 
void free ()
 Frees the underlying data buffer. More...
 
fm.liveswitch.DataBuffer getBuffer ()
 Gets the data. More...
 
boolean getFirst ()
 Gets whether this is the first packet. More...
 
boolean getLast ()
 Gets whether this is the last packet. More...
 
void keep ()
 Keeps the underlying data buffer. More...
 
void setBuffer (fm.liveswitch.DataBuffer value)
 Sets the data. More...
 
void setFirst (boolean value)
 Sets whether this is the first packet. More...
 
void setLast (boolean value)
 Sets whether this is the last packet. More...
 
 VideoFragment ()
 

Detailed Description

A VP8 packet fragment.

Constructor & Destructor Documentation

◆ Fragment()

fm.liveswitch.vp8.Fragment.Fragment ( fm.liveswitch.RtpPacketHeader  header,
fm.liveswitch.DataBuffer  dataBuffer 
)

Initializes a new instance of the fm.liveswitch.vp8.Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.

Member Function Documentation

◆ getKeyIndex()

int fm.liveswitch.vp8.Fragment.getKeyIndex ( )

Gets the key index.

◆ getLayerSync()

boolean fm.liveswitch.vp8.Fragment.getLayerSync ( )

Gets whether layer sync is set.

◆ getNonReferenceFrame()

boolean fm.liveswitch.vp8.Fragment.getNonReferenceFrame ( )

Gets whether this fragment belongs to a non-reference frame.

◆ getPartitionIndex()

int fm.liveswitch.vp8.Fragment.getPartitionIndex ( )

Gets the partition index.

◆ getPictureId()

int fm.liveswitch.vp8.Fragment.getPictureId ( )

Gets the picture ID.

◆ getRtpSequenceNumber()

int fm.liveswitch.vp8.Fragment.getRtpSequenceNumber ( )

Gets the RTP sequence number.

◆ getRtpTimestamp()

long fm.liveswitch.vp8.Fragment.getRtpTimestamp ( )

Gets the RTP timestamp.

◆ getStartOfPartition()

boolean fm.liveswitch.vp8.Fragment.getStartOfPartition ( )

Gets whether this fragment is the start of a partition.

◆ getTemporalLayerIndex()

int fm.liveswitch.vp8.Fragment.getTemporalLayerIndex ( )

Gets the temporal layer index.

◆ getTemporalLevelZeroIndex()

int fm.liveswitch.vp8.Fragment.getTemporalLevelZeroIndex ( )

Gets the temporal level zero index.