A simulcast notification. More...
Instance Methods | |
(void) | - deserializePropertyWithKey:valueJson: |
Deserializes a property from JSON. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSimulcastNotification class. More... | |
(NSString *) | - mediaDescriptionId |
Gets the media description ID. More... | |
(NSString *) | - rtpStreamId |
Gets the RTP stream ID. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes properties to JSON. More... | |
(void) | - setMediaDescriptionId: |
Sets the media description ID. More... | |
(void) | - setRtpStreamId: |
Sets the RTP stream ID. More... | |
(void) | - setStreamState: |
Sets the simulcast stream's state. More... | |
(void) | - setSynchronizationSource: |
Sets the synchronization source. More... | |
(FMLiveSwitchSimulcastStreamState) | - streamState |
Gets the simulcast stream's state. More... | |
(long long) | - synchronizationSource |
Gets the synchronization source. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
Class Methods | |
(NSMutableArray *) | + fromJsonArrayWithSimulcastNotificationJson: |
Deserializes an array from JSON. More... | |
(FMLiveSwitchSimulcastNotification *) | + fromJsonWithSimulcastNotificationJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchSimulcastNotification *) | + simulcastNotification |
Initializes a new instance of the FMLiveSwitchSimulcastNotification class. More... | |
(NSString *) | + toJsonArrayWithSimulcastNotifications: |
Serializes an array to JSON. More... | |
(NSString *) | + toJsonWithSimulcastNotification: |
Serializes an instance to JSON. More... | |
A simulcast notification.
Deserializes a property from JSON.
key | The property key. |
valueJson | The property value in JSON format. |
+ (NSMutableArray*) fromJsonArrayWithSimulcastNotificationJson: | (NSString *) | simulcastNotificationJson |
Deserializes an array from JSON.
simulcastNotificationJson | The array in JSON format. |
+ (FMLiveSwitchSimulcastNotification*) fromJsonWithSimulcastNotificationJson: | (NSString *) | simulcastNotificationJson |
Deserializes an instance from JSON.
simulcastNotificationJson | The instance in JSON format. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchSimulcastNotification class.
- (NSString*) mediaDescriptionId |
Gets the media description ID.
- (NSString*) rtpStreamId |
Gets the RTP stream ID.
- (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes properties to JSON.
jsonObject | The JSON target. |
- (void) setMediaDescriptionId: | (NSString *) | value |
Sets the media description ID.
- (void) setRtpStreamId: | (NSString *) | value |
Sets the RTP stream ID.
- (void) setStreamState: | (FMLiveSwitchSimulcastStreamState) | value |
Sets the simulcast stream's state.
- (void) setSynchronizationSource: | (long long) | value |
Sets the synchronization source.
+ (FMLiveSwitchSimulcastNotification*) simulcastNotification |
Initializes a new instance of the FMLiveSwitchSimulcastNotification class.
- (FMLiveSwitchSimulcastStreamState) streamState |
Gets the simulcast stream's state.
- (long long) synchronizationSource |
Gets the synchronization source.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithSimulcastNotifications: | (NSMutableArray *) | simulcastNotifications |
Serializes an array to JSON.
simulcastNotifications | The array. |
+ (NSString*) toJsonWithSimulcastNotification: | (FMLiveSwitchSimulcastNotification *) | simulcastNotification |
Serializes an instance to JSON.
simulcastNotification | The instance. |