Codec information. More...
Instance Methods | |
(FMLiveSwitchNullableInt *) | - channelCount |
Gets the codec channel count. More... | |
(FMLiveSwitchNullableInt *) | - clockRate |
Gets the codec clock rate. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
(NSString *) | - name |
Gets the codec name. More... | |
(NSString *) | - parameters |
Gets the codec parameters. More... | |
(FMLiveSwitchNullableInt *) | - payloadType |
Gets the codec payload type. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setChannelCount: |
Sets the codec channel count. More... | |
(void) | - setClockRate: |
Sets the codec clock rate. More... | |
(void) | - setName: |
Sets the codec name. More... | |
(void) | - setParameters: |
Sets the codec parameters. More... | |
(void) | - setPayloadType: |
Sets the codec payload type. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
Instance Methods inherited from FMLiveSwitchInfo | |
(NSString *) | - id |
Gets the identifier. More... | |
(void) | - setId: |
Sets the identifier. More... | |
Class Methods | |
(FMLiveSwitchCodecInfo *) | + codecInfo |
(NSMutableArray *) | + fromJsonArrayWithCodecInfosJson: |
Deserializes an array from JSON. More... | |
(FMLiveSwitchCodecInfo *) | + fromJsonWithCodecInfoJson: |
Deserializes an instance from JSON. More... | |
(NSString *) | + toJsonArrayWithCodecInfos: |
Serializes an array to JSON. More... | |
(NSString *) | + toJsonWithCodecInfo: |
Serializes an instance to JSON. More... | |
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... | |
Codec information.
- (FMLiveSwitchNullableInt*) channelCount |
Gets the codec channel count.
- (FMLiveSwitchNullableInt*) clockRate |
Gets the codec clock rate.
+ (FMLiveSwitchCodecInfo*) codecInfo |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchInfo.
+ (NSMutableArray*) fromJsonArrayWithCodecInfosJson: | (NSString *) | codecInfosJson |
Deserializes an array from JSON.
codecInfosJson | The serialized JSON. |
+ (FMLiveSwitchCodecInfo*) fromJsonWithCodecInfoJson: | (NSString *) | codecInfoJson |
Deserializes an instance from JSON.
codecInfoJson | The serialized JSON. |
- (instancetype) init |
Implements FMLiveSwitchInfo.
- (NSString*) name |
Gets the codec name.
- (NSString*) parameters |
Gets the codec parameters.
- (FMLiveSwitchNullableInt*) payloadType |
Gets the codec payload type.
- (void) setChannelCount: | (FMLiveSwitchNullableInt *) | value |
Sets the codec channel count.
- (void) setClockRate: | (FMLiveSwitchNullableInt *) | value |
Sets the codec clock rate.
- (void) setName: | (NSString *) | value |
Sets the codec name.
- (void) setParameters: | (NSString *) | value |
Sets the codec parameters.
- (void) setPayloadType: | (FMLiveSwitchNullableInt *) | value |
Sets the codec payload type.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithCodecInfos: | (NSMutableArray *) | codecInfos |
Serializes an array to JSON.
codecInfos | The array to serialize. |
+ (NSString*) toJsonWithCodecInfo: | (FMLiveSwitchCodecInfo *) | codecInfo |
Serializes an instance to JSON.
codecInfo | The instance to serialize. |