fm.liveswitch.TmmbrEntry Class Reference

An RTCP temporary maximum media-stream bitrate request (TMMBR) packet entry. More...

Public Member Functions

fm.liveswitch.DataBuffer getDataBuffer ()
 Gets the backing data buffer. More...
 
long getMaximumBitrate ()
 Gets the maximum bitrate. More...
 
int getMaximumBitrateExponent ()
 Gets the maximum bitrate exponent. More...
 
int getMaximumBitrateMantissa ()
 Gets the maximum bitrate mantissa. More...
 
int getMeasuredOverhead ()
 Gets the measured average packet overhead in bytes. More...
 
int getNormalizedMaximumBitrate ()
 Gets the normalized maximum bitrate. More...
 
long getSynchronizationSource ()
 Gets the synchronization source. More...
 
void setDataBuffer (fm.liveswitch.DataBuffer value)
 Sets the backing data buffer. More...
 
void setMaximumBitrate (long value)
 Sets the maximum bitrate. More...
 
void setMaximumBitrateExponent (int value)
 Sets the maximum bitrate exponent. More...
 
void setMaximumBitrateMantissa (int value)
 Sets the maximum bitrate mantissa. More...
 
void setMeasuredOverhead (int value)
 Sets the measured average packet overhead in bytes. More...
 
void setNormalizedMaximumBitrate (int value)
 Sets the normalized maximum bitrate. More...
 
void setSynchronizationSource (long value)
 Sets the synchronization source. More...
 
 TmmbrEntry (fm.liveswitch.DataBuffer dataBuffer)
 Initializes a new instance of the fm.liveswitch.TmmbrEntry class. More...
 
 TmmbrEntry (long maximumBitrate, long synchronizationSource)
 Initializes a new instance of the fm.liveswitch.TmmbrEntry class. More...
 

Static Public Member Functions

static int getFixedPayloadLength ()
 Gets the fixed length of an FIR entry. More...
 
static fm.liveswitch.TmmbrEntry normalized (int normalizedMaximumBitrate, long synchronizationSource)
 Creates a fm.liveswitch.TmmbrEntry using normalized parameters. More...
 

Additional Inherited Members

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

Detailed Description

An RTCP temporary maximum media-stream bitrate request (TMMBR) packet entry.

Constructor & Destructor Documentation

◆ TmmbrEntry() [1/2]

fm.liveswitch.TmmbrEntry.TmmbrEntry ( fm.liveswitch.DataBuffer  dataBuffer)

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

Parameters
dataBufferThe data buffer.

◆ TmmbrEntry() [2/2]

fm.liveswitch.TmmbrEntry.TmmbrEntry ( long  maximumBitrate,
long  synchronizationSource 
)

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

Parameters
maximumBitrateThe maximum bitrate.
synchronizationSourceThe synchronization source.

Member Function Documentation

◆ getDataBuffer()

fm.liveswitch.DataBuffer fm.liveswitch.TmmbrEntry.getDataBuffer ( )

Gets the backing data buffer.

◆ getFixedPayloadLength()

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

Gets the fixed length of an FIR entry.

◆ getMaximumBitrate()

long fm.liveswitch.TmmbrEntry.getMaximumBitrate ( )

Gets the maximum bitrate.

◆ getMaximumBitrateExponent()

int fm.liveswitch.TmmbrEntry.getMaximumBitrateExponent ( )

Gets the maximum bitrate exponent.

◆ getMaximumBitrateMantissa()

int fm.liveswitch.TmmbrEntry.getMaximumBitrateMantissa ( )

Gets the maximum bitrate mantissa.

◆ getMeasuredOverhead()

int fm.liveswitch.TmmbrEntry.getMeasuredOverhead ( )

Gets the measured average packet overhead in bytes.

◆ getNormalizedMaximumBitrate()

int fm.liveswitch.TmmbrEntry.getNormalizedMaximumBitrate ( )

Gets the normalized maximum bitrate.

◆ getSynchronizationSource()

long fm.liveswitch.TmmbrEntry.getSynchronizationSource ( )

Gets the synchronization source.

Reimplemented from fm.liveswitch.ControlFrameEntry.

◆ normalized()

static fm.liveswitch.TmmbrEntry fm.liveswitch.TmmbrEntry.normalized ( int  normalizedMaximumBitrate,
long  synchronizationSource 
)
static

Creates a fm.liveswitch.TmmbrEntry using normalized parameters.

Parameters
normalizedMaximumBitrateThe normalized maximum bitrate.
synchronizationSourceThe synchronization source.

◆ setDataBuffer()

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

Sets the backing data buffer.

◆ setMaximumBitrate()

void fm.liveswitch.TmmbrEntry.setMaximumBitrate ( long  value)

Sets the maximum bitrate.

◆ setMaximumBitrateExponent()

void fm.liveswitch.TmmbrEntry.setMaximumBitrateExponent ( int  value)

Sets the maximum bitrate exponent.

◆ setMaximumBitrateMantissa()

void fm.liveswitch.TmmbrEntry.setMaximumBitrateMantissa ( int  value)

Sets the maximum bitrate mantissa.

◆ setMeasuredOverhead()

void fm.liveswitch.TmmbrEntry.setMeasuredOverhead ( int  value)

Sets the measured average packet overhead in bytes.

◆ setNormalizedMaximumBitrate()

void fm.liveswitch.TmmbrEntry.setNormalizedMaximumBitrate ( int  value)

Sets the normalized maximum bitrate.

◆ setSynchronizationSource()

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

Sets the synchronization source.

Reimplemented from fm.liveswitch.ControlFrameEntry.