Media component information. More...
Public Member Functions | |
fm.liveswitch.CodecInfo | getCodec () |
Gets codec. More... | |
fm.liveswitch.NullableLong | getSynchronizationSource () |
Gets synchronization source of media track. More... | |
fm.liveswitch.MediaTrackInfo | getTrack () |
Gets track. More... | |
MediaComponentInfo () | |
Initializes a new instance of the fm.liveswitch.MediaComponentInfo class. More... | |
MediaComponentInfo (fm.liveswitch.MediaComponentStats stats, fm.liveswitch.MediaComponentStats lastStats) | |
Initializes a new instance of the fm.liveswitch.MediaComponentInfo class. More... | |
void | setCodec (fm.liveswitch.CodecInfo value) |
Sets codec. More... | |
void | setSynchronizationSource (fm.liveswitch.NullableLong value) |
Sets synchronization source of media track. More... | |
void | setTrack (fm.liveswitch.MediaTrackInfo value) |
Sets track. More... | |
Public Member Functions inherited from fm.liveswitch.Info | |
String | getId () |
Gets the identifier. More... | |
void | setId (String value) |
Sets the identifier. 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.Info | |
Info () | |
Additional Inherited Members | |
Static Public Member Functions inherited from fm.liveswitch.Info | |
static< T extends fm.liveswitch.IEquivalent< T > T[] | processArray (T[] newValues, T[] oldValues) |
Processes an array for an info. More... | |
static fm.liveswitch.NullableBoolean | processBoolean (boolean newValue, boolean oldValue) |
Processes a boolean for an info. More... | |
static boolean[] | processBooleanArray (boolean[] newValues, boolean[] oldValues) |
Processes a boolean array for an info. More... | |
static fm.liveswitch.NullableDouble | processDouble (double newValue, double oldValue) |
Processes a double for an info. More... | |
static fm.liveswitch.NullableFloat | processFloat (float newValue, float oldValue) |
Processes a float for an info. More... | |
static float[] | processFloatArray (float[] newValues, float[] oldValues) |
Processes a float array for an info. More... | |
static double[] | processFloatArray (double[] newValues, double[] oldValues) |
Processes a double array for an info. More... | |
static fm.liveswitch.NullableInteger | processInteger (int newValue, int oldValue) |
Processes an integer for an info. More... | |
static int[] | processIntegerArray (int[] newValues, int[] oldValues) |
Processes a integer array for an info. More... | |
static fm.liveswitch.NullableLong | processLong (long newValue, long oldValue) |
Processes a long for an info. More... | |
static long[] | processLongArray (long[] newValues, long[] oldValues) |
Processes a long array for an info. More... | |
static< T extends Object &fm.liveswitch.IEquivalent< T > T | processObject (T newValue, T oldValue) |
Processes an object for an info. More... | |
static fm.liveswitch.NullableShort | processShort (short newValue, short oldValue) |
Processes a short for an info. More... | |
static short[] | processShortArray (short[] newValues, short[] oldValues) |
Processes a short array for an info. More... | |
static String | processString (String newValue, String oldValue) |
Processes a string for an info. More... | |
Media component information.
fm.liveswitch.MediaComponentInfo.MediaComponentInfo | ( | ) |
Initializes a new instance of the fm.liveswitch.MediaComponentInfo class.
fm.liveswitch.MediaComponentInfo.MediaComponentInfo | ( | fm.liveswitch.MediaComponentStats | stats, |
fm.liveswitch.MediaComponentStats | lastStats | ||
) |
Initializes a new instance of the fm.liveswitch.MediaComponentInfo class.
stats | |
lastStats |
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.Info.
Reimplemented in fm.liveswitch.MediaSenderInfo, and fm.liveswitch.MediaReceiverInfo.
fm.liveswitch.CodecInfo fm.liveswitch.MediaComponentInfo.getCodec | ( | ) |
Gets codec.
fm.liveswitch.NullableLong fm.liveswitch.MediaComponentInfo.getSynchronizationSource | ( | ) |
Gets synchronization source of media track.
fm.liveswitch.MediaTrackInfo fm.liveswitch.MediaComponentInfo.getTrack | ( | ) |
Gets track.
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.Info.
Reimplemented in fm.liveswitch.MediaSenderInfo, and fm.liveswitch.MediaReceiverInfo.
void fm.liveswitch.MediaComponentInfo.setCodec | ( | fm.liveswitch.CodecInfo | value | ) |
Sets codec.
void fm.liveswitch.MediaComponentInfo.setSynchronizationSource | ( | fm.liveswitch.NullableLong | value | ) |
Sets synchronization source of media track.
void fm.liveswitch.MediaComponentInfo.setTrack | ( | fm.liveswitch.MediaTrackInfo | value | ) |
Sets track.