Media stream information. More...
Instance Methods | |
(NSString *) | - controlTransportId |
Gets the control transport id. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(NSString *) | - direction |
Gets the media stream direction. More... | |
(instancetype) | - init |
(int) | - localBandwidth |
Gets the media stream's local bandwidth. More... | |
(int) | - maxFrameHeight |
Gets the media stream's maximum frame height. More... | |
(int) | - maxFrameWidth |
Gets the media stream's maximum frame width. More... | |
(NSString *) | - receiveContent |
Gets the media stream's receive content. More... | |
(bool) | - receiveDisabled |
Gets whether the media stream has the receive direction disabled. More... | |
(NSMutableArray *) | - receiveEncodings |
Gets the media stream receive encodings. More... | |
(NSMutableArray *) | - receiveFormats |
Gets the media stream receive formats. More... | |
(FMLiveSwitchMediaReceiverInfo *) | - receiver |
Gets the first media stream receiver information. More... | |
(NSMutableArray *) | - receivers |
Gets the media stream receivers information. More... | |
(int) | - remoteBandwidth |
Gets the media stream's remote bandwidth. More... | |
(NSString *) | - sendContent |
Gets the media stream's send content. More... | |
(bool) | - sendDisabled |
Gets whether the media stream has the send direction disabled. More... | |
(NSMutableArray *) | - sendEncodings |
Gets the media stream send encodings. More... | |
(FMLiveSwitchMediaSenderInfo *) | - sender |
Gets the first media stream sender information. More... | |
(NSMutableArray *) | - senders |
Gets the media stream senders information. More... | |
(NSMutableArray *) | - sendFormats |
Gets the media stream send formats. More... | |
(bool) | - sendMuted |
Gets whether the sender is muted. More... | |
(bool) | - sendUnmuteDisabled |
Gets whether the sender cannot be unmuted. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setControlTransportId: |
Sets the control transport id. More... | |
(void) | - setDirection: |
Sets the media stream direction. More... | |
(void) | - setLocalBandwidth: |
Sets the media stream's local bandwidth. More... | |
(void) | - setMaxFrameHeight: |
Sets the media stream's maximum frame height. More... | |
(void) | - setMaxFrameWidth: |
Sets the media stream's maximum frame width. More... | |
(void) | - setReceiveContent: |
Sets the media stream's receive content. More... | |
(void) | - setReceiveDisabled: |
Sets whether the media stream has the receive direction disabled. More... | |
(void) | - setReceiveEncodings: |
Sets the media stream receive encodings. More... | |
(void) | - setReceiveFormats: |
Sets the media stream receive formats. More... | |
(void) | - setReceivers: |
Sets the media stream receivers information. More... | |
(void) | - setRemoteBandwidth: |
Sets the media stream's remote bandwidth. More... | |
(void) | - setSendContent: |
Sets the media stream's send content. More... | |
(void) | - setSendDisabled: |
Sets whether the media stream has the send direction disabled. More... | |
(void) | - setSendEncodings: |
Sets the media stream send encodings. More... | |
(void) | - setSenders: |
Sets the media stream senders information. More... | |
(void) | - setSendFormats: |
Sets the media stream send formats. More... | |
(void) | - setSendMuted: |
Sets whether the sender is muted. More... | |
(void) | - setSendUnmuteDisabled: |
Sets whether the sender cannot be unmuted. More... | |
(void) | - setWebSocketStreamId: |
Sets the WebSocket Stream id. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
(int) | - webSocketStreamId |
Gets the WebSocket Stream id. More... | |
Instance Methods inherited from FMLiveSwitchStreamInfo | |
(void) | - setTag: |
Sets the tag. More... | |
(void) | - setTransportId: |
Sets the transport id. More... | |
(NSString *) | - tag |
Gets the tag. More... | |
(NSString *) | - transportId |
Gets the transport id. More... | |
Instance Methods inherited from FMLiveSwitchInfo | |
(NSString *) | - id |
Gets the identifier. More... | |
(void) | - setId: |
Sets the identifier. More... | |
Class Methods | |
(NSMutableArray *) | + fromJsonArrayWithMediaStreamInfosJson: |
Deserializes an array from JSON. More... | |
(FMLiveSwitchMediaStreamInfo *) | + fromJsonWithMediaStreamInfoJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchMediaStreamInfo *) | + mediaStreamInfo |
(NSString *) | + toJsonArrayWithMediaStreamInfos: |
Serializes an array to JSON. More... | |
(NSString *) | + toJsonWithMediaStreamInfo: |
Serializes an instance to JSON. More... | |
Class Methods inherited from FMLiveSwitchStreamInfo | |
(FMLiveSwitchStreamInfo *) | + streamInfo |
Class Methods inherited from FMLiveSwitchInfo | |
(FMLiveSwitchInfo *) | + info |
(NSMutableArray *) | + processArrayWithNewValues:oldValues: |
Processes an array for an info. More... | |
(NSMutableArray *) | + processBooleanArrayWithNewValues:oldValues: |
Processes a boolean array for an info. More... | |
(FMLiveSwitchNullableBool *) | + processBooleanWithNewValue:oldValue: |
Processes a boolean for an info. More... | |
(FMLiveSwitchNullableDouble *) | + processDoubleWithNewValue:oldValue: |
Processes a double for an info. More... | |
(NSMutableArray *) | + processFloatArrayWithNewValues:oldValues: |
Processes a float array for an info. More... | |
(FMLiveSwitchNullableFloat *) | + processFloatWithNewValue:oldValue: |
Processes a float for an info. More... | |
(NSMutableArray *) | + processIntegerArrayWithNewValues:oldValues: |
Processes a integer array for an info. More... | |
(FMLiveSwitchNullableInt *) | + processIntegerWithNewValue:oldValue: |
Processes an integer for an info. More... | |
(NSMutableArray *) | + processLongArrayWithNewValues:oldValues: |
Processes a long array for an info. More... | |
(FMLiveSwitchNullableLong *) | + processLongWithNewValue:oldValue: |
Processes a long for an info. More... | |
(NSObject< FMLiveSwitchIEquivalent > *) | + processObjectWithNewValue:oldValue: |
Processes an object for an info. More... | |
(NSMutableArray *) | + processShortArrayWithNewValues:oldValues: |
Processes a short array for an info. More... | |
(FMLiveSwitchNullableShort *) | + processShortWithNewValue:oldValue: |
Processes a short for an info. More... | |
(NSString *) | + processStringWithNewValue:oldValue: |
Processes a string for an info. More... | |
Media stream information.
- (NSString*) controlTransportId |
Gets the control transport id.
This will be null
if BUNDLE is active.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchStreamInfo.
- (NSString*) direction |
Gets the media stream direction.
+ (NSMutableArray*) fromJsonArrayWithMediaStreamInfosJson: | (NSString *) | mediaStreamInfosJson |
Deserializes an array from JSON.
mediaStreamInfosJson | The serialized JSON. |
+ (FMLiveSwitchMediaStreamInfo*) fromJsonWithMediaStreamInfoJson: | (NSString *) | mediaStreamInfoJson |
Deserializes an instance from JSON.
mediaStreamInfoJson | The serialized JSON. |
- (instancetype) init |
Implements FMLiveSwitchStreamInfo.
- (int) localBandwidth |
Gets the media stream's local bandwidth.
- (int) maxFrameHeight |
Gets the media stream's maximum frame height.
- (int) maxFrameWidth |
Gets the media stream's maximum frame width.
+ (FMLiveSwitchMediaStreamInfo*) mediaStreamInfo |
- (NSString*) receiveContent |
Gets the media stream's receive content.
- (bool) receiveDisabled |
Gets whether the media stream has the receive direction disabled.
- (NSMutableArray*) receiveEncodings |
Gets the media stream receive encodings.
- (NSMutableArray*) receiveFormats |
Gets the media stream receive formats.
- (FMLiveSwitchMediaReceiverInfo*) receiver |
Gets the first media stream receiver information.
- (NSMutableArray*) receivers |
Gets the media stream receivers information.
- (int) remoteBandwidth |
Gets the media stream's remote bandwidth.
- (NSString*) sendContent |
Gets the media stream's send content.
- (bool) sendDisabled |
Gets whether the media stream has the send direction disabled.
- (NSMutableArray*) sendEncodings |
Gets the media stream send encodings.
- (FMLiveSwitchMediaSenderInfo*) sender |
Gets the first media stream sender information.
- (NSMutableArray*) senders |
Gets the media stream senders information.
- (NSMutableArray*) sendFormats |
Gets the media stream send formats.
- (bool) sendMuted |
Gets whether the sender is muted.
Returns true if the sender is muted and false otherwise.
- (bool) sendUnmuteDisabled |
Gets whether the sender cannot be unmuted.
Returns true if the sender cannot be unmuted and false otherwise.
- (void) setControlTransportId: | (NSString *) | value |
Sets the control transport id.
This will be null
if BUNDLE is active.
- (void) setDirection: | (NSString *) | value |
Sets the media stream direction.
- (void) setLocalBandwidth: | (int) | value |
Sets the media stream's local bandwidth.
- (void) setMaxFrameHeight: | (int) | value |
Sets the media stream's maximum frame height.
- (void) setMaxFrameWidth: | (int) | value |
Sets the media stream's maximum frame width.
- (void) setReceiveContent: | (NSString *) | value |
Sets the media stream's receive content.
- (void) setReceiveDisabled: | (bool) | value |
Sets whether the media stream has the receive direction disabled.
- (void) setReceiveEncodings: | (NSMutableArray *) | value |
Sets the media stream receive encodings.
- (void) setReceiveFormats: | (NSMutableArray *) | value |
Sets the media stream receive formats.
- (void) setReceivers: | (NSMutableArray *) | value |
Sets the media stream receivers information.
- (void) setRemoteBandwidth: | (int) | value |
Sets the media stream's remote bandwidth.
- (void) setSendContent: | (NSString *) | value |
Sets the media stream's send content.
- (void) setSendDisabled: | (bool) | value |
Sets whether the media stream has the send direction disabled.
- (void) setSendEncodings: | (NSMutableArray *) | value |
Sets the media stream send encodings.
- (void) setSenders: | (NSMutableArray *) | value |
Sets the media stream senders information.
- (void) setSendFormats: | (NSMutableArray *) | value |
Sets the media stream send formats.
- (void) setSendMuted: | (bool) | value |
Sets whether the sender is muted.
Returns true if the sender is muted and false otherwise.
- (void) setSendUnmuteDisabled: | (bool) | value |
Sets whether the sender cannot be unmuted.
Returns true if the sender cannot be unmuted and false otherwise.
- (void) setWebSocketStreamId: | (int) | value |
Sets the WebSocket Stream id.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithMediaStreamInfos: | (NSMutableArray *) | mediaStreamInfos |
Serializes an array to JSON.
mediaStreamInfos | The array to serialize. |
+ (NSString*) toJsonWithMediaStreamInfo: | (FMLiveSwitchMediaStreamInfo *) | mediaStreamInfo |
Serializes an instance to JSON.
mediaStreamInfo | The instance to serialize. |
- (int) webSocketStreamId |
Gets the WebSocket Stream id.