fm.liveswitch.EncodingConfig Class Referenceabstract

Encoding configuration. More...

Public Member Functions

 EncodingConfig ()
 Initializes a new instance of the fm.liveswitch.EncodingConfig class. More...
 
 EncodingConfig (fm.liveswitch.EncodingInfo encoding)
 Initializes a new instance of the fm.liveswitch.EncodingConfig class. More...
 
int getBitrate ()
 Gets the bitrate, in kbps. More...
 
boolean getDeactivated ()
 Gets whether this encoding is deactivated. More...
 
String getRtpStreamId ()
 Gets the RTP stream identifier. More...
 
long getSynchronizationSource ()
 Gets the synchronization source. More...
 
void setBitrate (int value)
 Sets the bitrate, in kbps. More...
 
void setDeactivated (boolean value)
 Sets whether this encoding is deactivated. More...
 

Protected Member Functions

void deserializeProperties (String key, String valueJson)
 Deserializes the properties. More...
 
void serializeProperties (java.util.HashMap< String, String > jsonObject)
 Serializes the properties. More...
 

Detailed Description

Encoding configuration.

Constructor & Destructor Documentation

◆ EncodingConfig() [1/2]

fm.liveswitch.EncodingConfig.EncodingConfig ( )

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

◆ EncodingConfig() [2/2]

fm.liveswitch.EncodingConfig.EncodingConfig ( fm.liveswitch.EncodingInfo  encoding)

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

Parameters
encodingThe encoding.

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.EncodingConfig.deserializeProperties ( String  key,
String  valueJson 
)
protected

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented in fm.liveswitch.VideoEncodingConfig.

◆ getBitrate()

int fm.liveswitch.EncodingConfig.getBitrate ( )

Gets the bitrate, in kbps.

◆ getDeactivated()

boolean fm.liveswitch.EncodingConfig.getDeactivated ( )

Gets whether this encoding is deactivated.

◆ getRtpStreamId()

String fm.liveswitch.EncodingConfig.getRtpStreamId ( )

Gets the RTP stream identifier.

◆ getSynchronizationSource()

long fm.liveswitch.EncodingConfig.getSynchronizationSource ( )

Gets the synchronization source.

◆ serializeProperties()

void fm.liveswitch.EncodingConfig.serializeProperties ( java.util.HashMap< String, String >  jsonObject)
protected

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented in fm.liveswitch.VideoEncodingConfig.

◆ setBitrate()

void fm.liveswitch.EncodingConfig.setBitrate ( int  value)

Sets the bitrate, in kbps.

◆ setDeactivated()

void fm.liveswitch.EncodingConfig.setDeactivated ( boolean  value)

Sets whether this encoding is deactivated.