Audio encoding configuration. More...
Instance Methods | |
(NSString *) | - description |
Returns a string that represents this instance. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchAudioEncodingConfig class. More... | |
(instancetype) | - initWithEncoding: |
Initializes a new instance of the FMLiveSwitchAudioEncodingConfig class. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
Instance Methods inherited from FMLiveSwitchEncodingConfig | |
(int) | - bitrate |
Gets the bitrate, in kbps. More... | |
(bool) | - deactivated |
Gets whether this encoding is deactivated. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(NSString *) | - rtpStreamId |
Gets the RTP stream identifier. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setBitrate: |
Sets the bitrate, in kbps. More... | |
(void) | - setDeactivated: |
Sets whether this encoding is deactivated. More... | |
(long long) | - synchronizationSource |
Gets the synchronization source. More... | |
Audio encoding configuration.
+ (FMLiveSwitchAudioEncodingConfig*) audioEncodingConfig |
Initializes a new instance of the FMLiveSwitchAudioEncodingConfig class.
+ (FMLiveSwitchAudioEncodingConfig*) audioEncodingConfigWithEncoding: | (FMLiveSwitchEncodingInfo *) | encoding |
Initializes a new instance of the FMLiveSwitchAudioEncodingConfig class.
encoding | The encoding. |
- (NSString*) description |
Returns a string that represents this instance.
+ (NSMutableArray*) fromJsonArrayWithEncodingConfigsJson: | (NSString *) | encodingConfigsJson |
Deserializes an array from JSON.
encodingConfigsJson | The serialized JSON. |
+ (FMLiveSwitchAudioEncodingConfig*) fromJsonWithEncodingConfigJson: | (NSString *) | encodingConfigJson |
Deserializes an instance from JSON.
encodingConfigJson | The serialized JSON. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchAudioEncodingConfig class.
Implements FMLiveSwitchEncodingConfig.
- (instancetype) initWithEncoding: | (FMLiveSwitchEncodingInfo *) | encoding |
Initializes a new instance of the FMLiveSwitchAudioEncodingConfig class.
encoding | The encoding. |
Implements FMLiveSwitchEncodingConfig.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithEncodingConfigs: | (NSMutableArray *) | encodingConfigs |
Serializes an array to JSON.
encodingConfigs | The array to serialize. |
+ (NSString*) toJsonWithEncodingConfig: | (FMLiveSwitchAudioEncodingConfig *) | encodingConfig |
Serializes an instance to JSON.
encodingConfig | The instance to serialize. |