fm.liveswitch.JitterConfig Class Reference

A Jitter config. More...

Public Member Functions

int getBufferLength ()
 Gets the initial jitter buffer length in milliseconds. More...
 
boolean getDisableBuffering ()
 Gets a value indicating whether the jitter buffer should be disabled. More...
 
 JitterConfig ()
 Initializes a new instance of the fm.liveswitch.JitterConfig class. More...
 
 JitterConfig (int bufferLength)
 Initializes a new instance of the fm.liveswitch.JitterConfig class. More...
 
void setBufferLength (int value)
 Sets the initial jitter buffer length in milliseconds. More...
 
void setDisableBuffering (boolean value)
 Sets a value indicating whether the jitter buffer should be disabled. More...
 

Detailed Description

A Jitter config.

JitterConfig is for configuring the jitter buffer. The jitter buffer helps to eliminate the effects of varying network delay and delivery times by holding packets for a brief period of time before releasing them to the playout track. The jitter buffer holds on to the packets so that any out of order arriving packets can be released in the correct order. You can modify the buffer size, but it will increase latency, and should generally be left with default values. The option to set these values will most likely be removed in a future release as our adaptive algorithms improve.

Constructor & Destructor Documentation

◆ JitterConfig() [1/2]

fm.liveswitch.JitterConfig.JitterConfig ( )

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

◆ JitterConfig() [2/2]

fm.liveswitch.JitterConfig.JitterConfig ( int  bufferLength)

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

Parameters
bufferLengthLength of the buffer.

Member Function Documentation

◆ getBufferLength()

int fm.liveswitch.JitterConfig.getBufferLength ( )

Gets the initial jitter buffer length in milliseconds.

Defaults to 100 (ms).

◆ getDisableBuffering()

boolean fm.liveswitch.JitterConfig.getDisableBuffering ( )

Gets a value indicating whether the jitter buffer should be disabled.

◆ setBufferLength()

void fm.liveswitch.JitterConfig.setBufferLength ( int  value)

Sets the initial jitter buffer length in milliseconds.

Defaults to 100 (ms).

◆ setDisableBuffering()

void fm.liveswitch.JitterConfig.setDisableBuffering ( boolean  value)

Sets a value indicating whether the jitter buffer should be disabled.