Media stream information. More...
Public Member Functions | |
| String | getControlTransportId () |
| Gets the control transport id. More... | |
| String | getDirection () |
| Gets the media stream direction. More... | |
| int | getLocalBandwidth () |
| Gets the media stream's local bandwidth. More... | |
| int | getMaxFrameHeight () |
| Gets the media stream's maximum frame height. More... | |
| int | getMaxFrameWidth () |
| Gets the media stream's maximum frame width. More... | |
| String | getReceiveContent () |
| Gets the media stream's receive content. More... | |
| boolean | getReceiveDisabled () |
| Gets whether the media stream has the receive direction disabled. More... | |
| fm.liveswitch.EncodingInfo[] | getReceiveEncodings () |
| Gets the media stream receive encodings. More... | |
| fm.liveswitch.FormatInfo[] | getReceiveFormats () |
| Gets the media stream receive formats. More... | |
| fm.liveswitch.MediaReceiverInfo | getReceiver () |
| Gets the first media stream receiver information. More... | |
| fm.liveswitch.MediaReceiverInfo[] | getReceivers () |
| Gets the media stream receivers information. More... | |
| int | getRemoteBandwidth () |
| Gets the media stream's remote bandwidth. More... | |
| String | getSendContent () |
| Gets the media stream's send content. More... | |
| boolean | getSendDisabled () |
| Gets whether the media stream has the send direction disabled. More... | |
| fm.liveswitch.EncodingInfo[] | getSendEncodings () |
| Gets the media stream send encodings. More... | |
| fm.liveswitch.MediaSenderInfo | getSender () |
| Gets the first media stream sender information. More... | |
| fm.liveswitch.MediaSenderInfo[] | getSenders () |
| Gets the media stream senders information. More... | |
| fm.liveswitch.FormatInfo[] | getSendFormats () |
| Gets the media stream send formats. More... | |
| boolean | getSendMuted () |
| Gets whether the sender is muted. More... | |
| boolean | getSendUnmuteDisabled () |
| Gets whether the sender cannot be unmuted. More... | |
| int | getWebSocketStreamId () |
| Gets the WebSocket Stream id. More... | |
| MediaStreamInfo () | |
| void | setControlTransportId (String value) |
| Sets the control transport id. More... | |
| void | setDirection (String value) |
| Sets the media stream direction. More... | |
| void | setLocalBandwidth (int value) |
| Sets the media stream's local bandwidth. More... | |
| void | setMaxFrameHeight (int value) |
| Sets the media stream's maximum frame height. More... | |
| void | setMaxFrameWidth (int value) |
| Sets the media stream's maximum frame width. More... | |
| void | setReceiveContent (String value) |
| Sets the media stream's receive content. More... | |
| void | setReceiveDisabled (boolean value) |
| Sets whether the media stream has the receive direction disabled. More... | |
| void | setReceiveEncodings (fm.liveswitch.EncodingInfo[] value) |
| Sets the media stream receive encodings. More... | |
| void | setReceiveFormats (fm.liveswitch.FormatInfo[] value) |
| Sets the media stream receive formats. More... | |
| void | setReceivers (fm.liveswitch.MediaReceiverInfo[] value) |
| Sets the media stream receivers information. More... | |
| void | setRemoteBandwidth (int value) |
| Sets the media stream's remote bandwidth. More... | |
| void | setSendContent (String value) |
| Sets the media stream's send content. More... | |
| void | setSendDisabled (boolean value) |
| Sets whether the media stream has the send direction disabled. More... | |
| void | setSendEncodings (fm.liveswitch.EncodingInfo[] value) |
| Sets the media stream send encodings. More... | |
| void | setSenders (fm.liveswitch.MediaSenderInfo[] value) |
| Sets the media stream senders information. More... | |
| void | setSendFormats (fm.liveswitch.FormatInfo[] value) |
| Sets the media stream send formats. More... | |
| void | setSendMuted (boolean value) |
| Sets whether the sender is muted. More... | |
| void | setSendUnmuteDisabled (boolean value) |
| Sets whether the sender cannot be unmuted. More... | |
| void | setWebSocketStreamId (int value) |
| Sets the WebSocket Stream id. More... | |
| String | toJson () |
| Serializes this instance to JSON. More... | |
Public Member Functions inherited from fm.liveswitch.StreamInfo | |
| String | getTag () |
| Gets the tag. More... | |
| String | getTransportId () |
| Gets the transport id. More... | |
| void | setTag (String value) |
| Sets the tag. More... | |
| void | setTransportId (String value) |
| Sets the transport id. More... | |
Public Member Functions inherited from fm.liveswitch.Info | |
| String | getId () |
| Gets the identifier. More... | |
| void | setId (String value) |
| Sets the identifier. More... | |
Static Public Member Functions | |
| static fm.liveswitch.MediaStreamInfo | fromJson (String mediaStreamInfoJson) |
| Deserializes an instance from JSON. More... | |
| static fm.liveswitch.MediaStreamInfo[] | fromJsonArray (String mediaStreamInfosJson) |
| Deserializes an array from JSON. More... | |
| static String | toJson (fm.liveswitch.MediaStreamInfo mediaStreamInfo) |
| Serializes an instance to JSON. More... | |
| static String | toJsonArray (fm.liveswitch.MediaStreamInfo[] mediaStreamInfos) |
| Serializes an array to JSON. More... | |
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... | |
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.StreamInfo | |
| StreamInfo () | |
Protected Member Functions inherited from fm.liveswitch.Info | |
| Info () | |
Media stream information.
| fm.liveswitch.MediaStreamInfo.MediaStreamInfo | ( | ) |
|
protected |
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.StreamInfo.
|
static |
Deserializes an instance from JSON.
| mediaStreamInfoJson | The serialized JSON. |
|
static |
Deserializes an array from JSON.
| mediaStreamInfosJson | The serialized JSON. |
| String fm.liveswitch.MediaStreamInfo.getControlTransportId | ( | ) |
Gets the control transport id.
This will be
if BUNDLE is active.
| String fm.liveswitch.MediaStreamInfo.getDirection | ( | ) |
Gets the media stream direction.
| int fm.liveswitch.MediaStreamInfo.getLocalBandwidth | ( | ) |
Gets the media stream's local bandwidth.
| int fm.liveswitch.MediaStreamInfo.getMaxFrameHeight | ( | ) |
Gets the media stream's maximum frame height.
| int fm.liveswitch.MediaStreamInfo.getMaxFrameWidth | ( | ) |
Gets the media stream's maximum frame width.
| String fm.liveswitch.MediaStreamInfo.getReceiveContent | ( | ) |
Gets the media stream's receive content.
| boolean fm.liveswitch.MediaStreamInfo.getReceiveDisabled | ( | ) |
Gets whether the media stream has the receive direction disabled.
| fm.liveswitch.EncodingInfo [] fm.liveswitch.MediaStreamInfo.getReceiveEncodings | ( | ) |
Gets the media stream receive encodings.
| fm.liveswitch.FormatInfo [] fm.liveswitch.MediaStreamInfo.getReceiveFormats | ( | ) |
Gets the media stream receive formats.
| fm.liveswitch.MediaReceiverInfo fm.liveswitch.MediaStreamInfo.getReceiver | ( | ) |
Gets the first media stream receiver information.
| fm.liveswitch.MediaReceiverInfo [] fm.liveswitch.MediaStreamInfo.getReceivers | ( | ) |
Gets the media stream receivers information.
| int fm.liveswitch.MediaStreamInfo.getRemoteBandwidth | ( | ) |
Gets the media stream's remote bandwidth.
| String fm.liveswitch.MediaStreamInfo.getSendContent | ( | ) |
Gets the media stream's send content.
| boolean fm.liveswitch.MediaStreamInfo.getSendDisabled | ( | ) |
Gets whether the media stream has the send direction disabled.
| fm.liveswitch.EncodingInfo [] fm.liveswitch.MediaStreamInfo.getSendEncodings | ( | ) |
Gets the media stream send encodings.
| fm.liveswitch.MediaSenderInfo fm.liveswitch.MediaStreamInfo.getSender | ( | ) |
Gets the first media stream sender information.
| fm.liveswitch.MediaSenderInfo [] fm.liveswitch.MediaStreamInfo.getSenders | ( | ) |
Gets the media stream senders information.
| fm.liveswitch.FormatInfo [] fm.liveswitch.MediaStreamInfo.getSendFormats | ( | ) |
Gets the media stream send formats.
| boolean fm.liveswitch.MediaStreamInfo.getSendMuted | ( | ) |
Gets whether the sender is muted.
Returns true if the sender is muted and false otherwise.
| boolean fm.liveswitch.MediaStreamInfo.getSendUnmuteDisabled | ( | ) |
Gets whether the sender cannot be unmuted.
Returns true if the sender cannot be unmuted and false otherwise.
|
protected |
Serializes the properties.
| jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.StreamInfo.
| void fm.liveswitch.MediaStreamInfo.setControlTransportId | ( | String | value | ) |
Sets the control transport id.
This will be
if BUNDLE is active.
| void fm.liveswitch.MediaStreamInfo.setDirection | ( | String | value | ) |
Sets the media stream direction.
| void fm.liveswitch.MediaStreamInfo.setLocalBandwidth | ( | int | value | ) |
Sets the media stream's local bandwidth.
| void fm.liveswitch.MediaStreamInfo.setMaxFrameHeight | ( | int | value | ) |
Sets the media stream's maximum frame height.
| void fm.liveswitch.MediaStreamInfo.setMaxFrameWidth | ( | int | value | ) |
Sets the media stream's maximum frame width.
| void fm.liveswitch.MediaStreamInfo.setReceiveContent | ( | String | value | ) |
Sets the media stream's receive content.
| void fm.liveswitch.MediaStreamInfo.setReceiveDisabled | ( | boolean | value | ) |
Sets whether the media stream has the receive direction disabled.
| void fm.liveswitch.MediaStreamInfo.setReceiveEncodings | ( | fm.liveswitch.EncodingInfo[] | value | ) |
Sets the media stream receive encodings.
| void fm.liveswitch.MediaStreamInfo.setReceiveFormats | ( | fm.liveswitch.FormatInfo[] | value | ) |
Sets the media stream receive formats.
| void fm.liveswitch.MediaStreamInfo.setReceivers | ( | fm.liveswitch.MediaReceiverInfo[] | value | ) |
Sets the media stream receivers information.
| void fm.liveswitch.MediaStreamInfo.setRemoteBandwidth | ( | int | value | ) |
Sets the media stream's remote bandwidth.
| void fm.liveswitch.MediaStreamInfo.setSendContent | ( | String | value | ) |
Sets the media stream's send content.
| void fm.liveswitch.MediaStreamInfo.setSendDisabled | ( | boolean | value | ) |
Sets whether the media stream has the send direction disabled.
| void fm.liveswitch.MediaStreamInfo.setSendEncodings | ( | fm.liveswitch.EncodingInfo[] | value | ) |
Sets the media stream send encodings.
| void fm.liveswitch.MediaStreamInfo.setSenders | ( | fm.liveswitch.MediaSenderInfo[] | value | ) |
Sets the media stream senders information.
| void fm.liveswitch.MediaStreamInfo.setSendFormats | ( | fm.liveswitch.FormatInfo[] | value | ) |
Sets the media stream send formats.
| void fm.liveswitch.MediaStreamInfo.setSendMuted | ( | boolean | value | ) |
Sets whether the sender is muted.
Returns true if the sender is muted and false otherwise.
| void fm.liveswitch.MediaStreamInfo.setSendUnmuteDisabled | ( | boolean | value | ) |
Sets whether the sender cannot be unmuted.
Returns true if the sender cannot be unmuted and false otherwise.
| String fm.liveswitch.MediaStreamInfo.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
| mediaStreamInfo | The instance to serialize. |
|
static |
Serializes an array to JSON.
| mediaStreamInfos | The array to serialize. |