fm.liveswitch.MediaTrackReport Class Reference

Media track report. More...

Public Member Functions

fm.liveswitch.NullableInteger getBitrate ()
 Gets the bitrate. More...
 
fm.liveswitch.NullableInteger getFrameHeight ()
 Gets the frame height. More...
 
fm.liveswitch.NullableDouble getFrameRate ()
 Gets the frame rate. More...
 
fm.liveswitch.NullableLong getFramesCorrupted ()
 Gets the number of frames corrupted. More...
 
fm.liveswitch.NullableLong getFramesDecoded ()
 Gets the number of frames decoded. More...
 
fm.liveswitch.NullableLong getFramesDropped ()
 Gets the number of frames dropped. More...
 
fm.liveswitch.NullableLong getFramesEncoded ()
 Gets the number of frames encoded. More...
 
fm.liveswitch.NullableLong getFramesReceived ()
 Gets the number of frames received. More...
 
fm.liveswitch.NullableLong getFramesSent ()
 Gets the number of frames sent. More...
 
fm.liveswitch.NullableInteger getFrameWidth ()
 Gets the frame width. More...
 
fm.liveswitch.NullableInteger getMaxBitrate ()
 Gets the maximum bitrate. More...
 
fm.liveswitch.NullableInteger getMinBitrate ()
 Gets the minimum bitrate. More...
 
 MediaTrackReport ()
 Initializes a new instance of the fm.liveswitch.MediaTrackReport class. More...
 
void setBitrate (fm.liveswitch.NullableInteger value)
 Sets the bitrate. More...
 
void setFrameHeight (fm.liveswitch.NullableInteger value)
 Sets the frame height. More...
 
void setFrameRate (fm.liveswitch.NullableDouble value)
 Sets the frame rate. More...
 
void setFramesCorrupted (fm.liveswitch.NullableLong value)
 Sets the number of frames corrupted. More...
 
void setFramesDecoded (fm.liveswitch.NullableLong value)
 Sets the number of frames decoded. More...
 
void setFramesDropped (fm.liveswitch.NullableLong value)
 Sets the number of frames dropped. More...
 
void setFramesEncoded (fm.liveswitch.NullableLong value)
 Sets the number of frames encoded. More...
 
void setFramesReceived (fm.liveswitch.NullableLong value)
 Sets the number of frames received. More...
 
void setFramesSent (fm.liveswitch.NullableLong value)
 Sets the number of frames sent. More...
 
void setFrameWidth (fm.liveswitch.NullableInteger value)
 Sets the frame width. More...
 
void setMaxBitrate (fm.liveswitch.NullableInteger value)
 Sets the maximum bitrate. More...
 
void setMinBitrate (fm.liveswitch.NullableInteger value)
 Sets the minimum bitrate. More...
 
String toJson ()
 Serializes this instance to JSON. More...
 

Static Public Member Functions

static fm.liveswitch.MediaTrackReport fromJson (String instanceJson)
 Deserializes an instance from JSON. More...
 
static fm.liveswitch.MediaTrackReport[] fromJsonArray (String arrayJson)
 Derializes an array from JSON. More...
 
static String toJson (fm.liveswitch.MediaTrackReport instance)
 Serializes an instance to JSON. More...
 
static String toJsonArray (fm.liveswitch.MediaTrackReport[] array)
 Serializes an array to JSON. More...
 
- Static Public Member Functions inherited from fm.liveswitch.Report
static< T extends fm.liveswitch.IEquivalent< T > T[] processArray (T[] newValues, T[] oldValues)
 Processes an array for a report. More...
 
static fm.liveswitch.NullableBoolean processBoolean (boolean newValue, boolean oldValue)
 Processes a boolean for a report. More...
 
static boolean[] processBooleanArray (boolean[] newValues, boolean[] oldValues)
 Processes a boolean array for a report. More...
 
static fm.liveswitch.NullableDouble processDouble (double newValue, double oldValue)
 Processes a double for a report. More...
 
static fm.liveswitch.NullableFloat processFloat (float newValue, float oldValue)
 Processes a float for a report. More...
 
static float[] processFloatArray (float[] newValues, float[] oldValues)
 Processes a float array for a report. More...
 
static double[] processFloatArray (double[] newValues, double[] oldValues)
 Processes a double array for a report. More...
 
static fm.liveswitch.NullableInteger processInteger (int newValue, int oldValue)
 Processes an integer for a report. More...
 
static int[] processIntegerArray (int[] newValues, int[] oldValues)
 Processes a integer array for a report. More...
 
static fm.liveswitch.NullableLong processLong (long newValue, long oldValue)
 Processes a long for a report. More...
 
static long[] processLongArray (long[] newValues, long[] oldValues)
 Processes a long array for a report. More...
 
static< T extends Object &fm.liveswitch.IEquivalent< T > T processObject (T newValue, T oldValue)
 Processes an array for a report. More...
 
static fm.liveswitch.NullableShort processShort (short newValue, short oldValue)
 Processes a short for a report. More...
 
static short[] processShortArray (short[] newValues, short[] oldValues)
 Processes a short array for a report. More...
 
static String processString (String newValue, String oldValue)
 Processes a string for a report. 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...
 
- Protected Member Functions inherited from fm.liveswitch.Report
 Report ()
 

Detailed Description

Media track report.

Constructor & Destructor Documentation

◆ MediaTrackReport()

fm.liveswitch.MediaTrackReport.MediaTrackReport ( )

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

Member Function Documentation

◆ deserializeProperties()

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented from fm.liveswitch.Report.

◆ fromJson()

static fm.liveswitch.MediaTrackReport fm.liveswitch.MediaTrackReport.fromJson ( String  instanceJson)
static

Deserializes an instance from JSON.

Parameters
instanceJsonThe instance JSON.
Returns
The deserialized instance.

◆ fromJsonArray()

static fm.liveswitch.MediaTrackReport [] fm.liveswitch.MediaTrackReport.fromJsonArray ( String  arrayJson)
static

Derializes an array from JSON.

Parameters
arrayJsonThe array JSON.
Returns
The deserialized array.

◆ getBitrate()

fm.liveswitch.NullableInteger fm.liveswitch.MediaTrackReport.getBitrate ( )

Gets the bitrate.

◆ getFrameHeight()

fm.liveswitch.NullableInteger fm.liveswitch.MediaTrackReport.getFrameHeight ( )

Gets the frame height.

◆ getFrameRate()

fm.liveswitch.NullableDouble fm.liveswitch.MediaTrackReport.getFrameRate ( )

Gets the frame rate.

◆ getFramesCorrupted()

fm.liveswitch.NullableLong fm.liveswitch.MediaTrackReport.getFramesCorrupted ( )

Gets the number of frames corrupted.

◆ getFramesDecoded()

fm.liveswitch.NullableLong fm.liveswitch.MediaTrackReport.getFramesDecoded ( )

Gets the number of frames decoded.

◆ getFramesDropped()

fm.liveswitch.NullableLong fm.liveswitch.MediaTrackReport.getFramesDropped ( )

Gets the number of frames dropped.

◆ getFramesEncoded()

fm.liveswitch.NullableLong fm.liveswitch.MediaTrackReport.getFramesEncoded ( )

Gets the number of frames encoded.

◆ getFramesReceived()

fm.liveswitch.NullableLong fm.liveswitch.MediaTrackReport.getFramesReceived ( )

Gets the number of frames received.

◆ getFramesSent()

fm.liveswitch.NullableLong fm.liveswitch.MediaTrackReport.getFramesSent ( )

Gets the number of frames sent.

◆ getFrameWidth()

fm.liveswitch.NullableInteger fm.liveswitch.MediaTrackReport.getFrameWidth ( )

Gets the frame width.

◆ getMaxBitrate()

fm.liveswitch.NullableInteger fm.liveswitch.MediaTrackReport.getMaxBitrate ( )

Gets the maximum bitrate.

◆ getMinBitrate()

fm.liveswitch.NullableInteger fm.liveswitch.MediaTrackReport.getMinBitrate ( )

Gets the minimum bitrate.

◆ serializeProperties()

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.Report.

◆ setBitrate()

void fm.liveswitch.MediaTrackReport.setBitrate ( fm.liveswitch.NullableInteger  value)

Sets the bitrate.

◆ setFrameHeight()

void fm.liveswitch.MediaTrackReport.setFrameHeight ( fm.liveswitch.NullableInteger  value)

Sets the frame height.

◆ setFrameRate()

void fm.liveswitch.MediaTrackReport.setFrameRate ( fm.liveswitch.NullableDouble  value)

Sets the frame rate.

◆ setFramesCorrupted()

void fm.liveswitch.MediaTrackReport.setFramesCorrupted ( fm.liveswitch.NullableLong  value)

Sets the number of frames corrupted.

◆ setFramesDecoded()

void fm.liveswitch.MediaTrackReport.setFramesDecoded ( fm.liveswitch.NullableLong  value)

Sets the number of frames decoded.

◆ setFramesDropped()

void fm.liveswitch.MediaTrackReport.setFramesDropped ( fm.liveswitch.NullableLong  value)

Sets the number of frames dropped.

◆ setFramesEncoded()

void fm.liveswitch.MediaTrackReport.setFramesEncoded ( fm.liveswitch.NullableLong  value)

Sets the number of frames encoded.

◆ setFramesReceived()

void fm.liveswitch.MediaTrackReport.setFramesReceived ( fm.liveswitch.NullableLong  value)

Sets the number of frames received.

◆ setFramesSent()

void fm.liveswitch.MediaTrackReport.setFramesSent ( fm.liveswitch.NullableLong  value)

Sets the number of frames sent.

◆ setFrameWidth()

void fm.liveswitch.MediaTrackReport.setFrameWidth ( fm.liveswitch.NullableInteger  value)

Sets the frame width.

◆ setMaxBitrate()

void fm.liveswitch.MediaTrackReport.setMaxBitrate ( fm.liveswitch.NullableInteger  value)

Sets the maximum bitrate.

◆ setMinBitrate()

void fm.liveswitch.MediaTrackReport.setMinBitrate ( fm.liveswitch.NullableInteger  value)

Sets the minimum bitrate.

◆ toJson() [1/2]

String fm.liveswitch.MediaTrackReport.toJson ( )

Serializes this instance to JSON.

◆ toJson() [2/2]

static String fm.liveswitch.MediaTrackReport.toJson ( fm.liveswitch.MediaTrackReport  instance)
static

Serializes an instance to JSON.

Parameters
instanceThe instance.
Returns
The serialized instance JSON.

◆ toJsonArray()

static String fm.liveswitch.MediaTrackReport.toJsonArray ( fm.liveswitch.MediaTrackReport[]  array)
static

Serializes an array to JSON.

Parameters
arrayThe array.
Returns
The serialized array JSON.