fm.liveswitch.FirEntry Class Reference

An RTCP full intra request (FIR) packet entry. More...

Public Member Functions

 FirEntry (fm.liveswitch.DataBuffer dataBuffer)
 Initializes a new instance of the fm.liveswitch.FirEntry class. More...
 
 FirEntry (int sequenceNumber)
 Initializes a new instance of the fm.liveswitch.FirEntry class. More...
 
fm.liveswitch.DataBuffer getDataBuffer ()
 Gets the backing data buffer. More...
 
int getSequenceNumber ()
 Gets the sequence number. More...
 
long getSynchronizationSource ()
 Gets the synchronization source. More...
 
void setDataBuffer (fm.liveswitch.DataBuffer value)
 Sets the backing data buffer. More...
 
void setSequenceNumber (int value)
 Sets the sequence number. More...
 
void setSynchronizationSource (long value)
 Sets the synchronization source. More...
 

Static Public Member Functions

static int getFixedPayloadLength ()
 Gets the fixed length of an FIR entry. More...
 
static int getSequenceNumberDelta (int sequenceNumber, int lastSequenceNumber)
 Gets the delta between sequence numbers, adjusted for overflow. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fm.liveswitch.ControlFrameEntry
 ControlFrameEntry ()
 

Detailed Description

An RTCP full intra request (FIR) packet entry.

Constructor & Destructor Documentation

◆ FirEntry() [1/2]

fm.liveswitch.FirEntry.FirEntry ( fm.liveswitch.DataBuffer  dataBuffer)

Initializes a new instance of the fm.liveswitch.FirEntry class.

Parameters
dataBufferThe data buffer.

◆ FirEntry() [2/2]

fm.liveswitch.FirEntry.FirEntry ( int  sequenceNumber)

Initializes a new instance of the fm.liveswitch.FirEntry class.

Parameters
sequenceNumberThe sequence number.

Member Function Documentation

◆ getDataBuffer()

fm.liveswitch.DataBuffer fm.liveswitch.FirEntry.getDataBuffer ( )

Gets the backing data buffer.

◆ getFixedPayloadLength()

static int fm.liveswitch.FirEntry.getFixedPayloadLength ( )
static

Gets the fixed length of an FIR entry.

◆ getSequenceNumber()

int fm.liveswitch.FirEntry.getSequenceNumber ( )

Gets the sequence number.

◆ getSequenceNumberDelta()

static int fm.liveswitch.FirEntry.getSequenceNumberDelta ( int  sequenceNumber,
int  lastSequenceNumber 
)
static

Gets the delta between sequence numbers, adjusted for overflow.

Parameters
sequenceNumberThe current sequence number.
lastSequenceNumberThe last sequence number.

◆ getSynchronizationSource()

long fm.liveswitch.FirEntry.getSynchronizationSource ( )

Gets the synchronization source.

Reimplemented from fm.liveswitch.ControlFrameEntry.

◆ setDataBuffer()

void fm.liveswitch.FirEntry.setDataBuffer ( fm.liveswitch.DataBuffer  value)

Sets the backing data buffer.

◆ setSequenceNumber()

void fm.liveswitch.FirEntry.setSequenceNumber ( int  value)

Sets the sequence number.

◆ setSynchronizationSource()

void fm.liveswitch.FirEntry.setSynchronizationSource ( long  value)

Sets the synchronization source.

Reimplemented from fm.liveswitch.ControlFrameEntry.