Encoding configuration. More...
Instance Methods | |
(int) | - bitrate |
Gets the bitrate, in kbps. More... | |
(bool) | - deactivated |
Gets whether this encoding is deactivated. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchEncodingConfig class. More... | |
(instancetype) | - initWithEncoding: |
Initializes a new instance of the FMLiveSwitchEncodingConfig class. 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... | |
Class Methods | |
(FMLiveSwitchEncodingConfig *) | + encodingConfig |
Initializes a new instance of the FMLiveSwitchEncodingConfig class. More... | |
(FMLiveSwitchEncodingConfig *) | + encodingConfigWithEncoding: |
Initializes a new instance of the FMLiveSwitchEncodingConfig class. More... | |
Encoding configuration.
- (int) bitrate |
Gets the bitrate, in kbps.
- (bool) deactivated |
Gets whether this encoding is deactivated.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implemented in FMLiveSwitchVideoEncodingConfig.
+ (FMLiveSwitchEncodingConfig*) encodingConfig |
Initializes a new instance of the FMLiveSwitchEncodingConfig class.
+ (FMLiveSwitchEncodingConfig*) encodingConfigWithEncoding: | (FMLiveSwitchEncodingInfo *) | encoding |
Initializes a new instance of the FMLiveSwitchEncodingConfig class.
encoding | The encoding. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchEncodingConfig class.
Implemented in FMLiveSwitchVideoEncodingConfig, and FMLiveSwitchAudioEncodingConfig.
- (instancetype) initWithEncoding: | (FMLiveSwitchEncodingInfo *) | encoding |
Initializes a new instance of the FMLiveSwitchEncodingConfig class.
encoding | The encoding. |
Implemented in FMLiveSwitchVideoEncodingConfig, and FMLiveSwitchAudioEncodingConfig.
- (NSString*) rtpStreamId |
Gets the RTP stream identifier.
- (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes the properties.
jsonObject | The JSON object. |
Implemented in FMLiveSwitchVideoEncodingConfig.
- (void) setBitrate: | (int) | value |
Sets the bitrate, in kbps.
- (void) setDeactivated: | (bool) | value |
Sets whether this encoding is deactivated.
- (long long) synchronizationSource |
Gets the synchronization source.