Video encoding configuration. More...
Instance Methods | |
(NSString *) | - description |
Returns a string that represents this instance. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(double) | - frameRate |
Gets the frame-rate, in fps. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchVideoEncodingConfig class. More... | |
(instancetype) | - initWithEncoding: |
Initializes a new instance of the FMLiveSwitchVideoEncodingConfig class. More... | |
(double) | - scale |
Gets the target scale. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setFrameRate: |
Sets the frame-rate, in fps. More... | |
(void) | - setScale: |
Sets the target scale. 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... | |
(NSString *) | - rtpStreamId |
Gets the RTP stream identifier. 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... | |
Video encoding configuration.
- (NSString*) description |
Returns a string that represents this instance.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchEncodingConfig.
- (double) frameRate |
Gets the frame-rate, in fps.
+ (NSMutableArray*) fromJsonArrayWithEncodingConfigsJson: | (NSString *) | encodingConfigsJson |
Deserializes an array from JSON.
encodingConfigsJson | The serialized JSON. |
+ (FMLiveSwitchVideoEncodingConfig*) fromJsonWithEncodingConfigJson: | (NSString *) | encodingConfigJson |
Deserializes an instance from JSON.
encodingConfigJson | The serialized JSON. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchVideoEncodingConfig class.
Implements FMLiveSwitchEncodingConfig.
- (instancetype) initWithEncoding: | (FMLiveSwitchEncodingInfo *) | encoding |
Initializes a new instance of the FMLiveSwitchVideoEncodingConfig class.
encoding | The encoding. |
Implements FMLiveSwitchEncodingConfig.
- (double) scale |
Gets the target scale.
- (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes the properties.
jsonObject | The JSON object. |
Implements FMLiveSwitchEncodingConfig.
- (void) setFrameRate: | (double) | value |
Sets the frame-rate, in fps.
- (void) setScale: | (double) | value |
Sets the target scale.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithEncodingConfigs: | (NSMutableArray *) | encodingConfigs |
Serializes an array to JSON.
encodingConfigs | The array to serialize. |
+ (NSString*) toJsonWithEncodingConfig: | (FMLiveSwitchVideoEncodingConfig *) | encodingConfig |
Serializes an instance to JSON.
encodingConfig | The instance to serialize. |
+ (FMLiveSwitchVideoEncodingConfig*) videoEncodingConfig |
Initializes a new instance of the FMLiveSwitchVideoEncodingConfig class.
+ (FMLiveSwitchVideoEncodingConfig*) videoEncodingConfigWithEncoding: | (FMLiveSwitchEncodingInfo *) | encoding |
Initializes a new instance of the FMLiveSwitchVideoEncodingConfig class.
encoding | The encoding. |