Codec stats. More...
Instance Methods | |
(int) | - channelCount |
Gets the channel count. More... | |
(int) | - clockRate |
Gets the clock rate. More... | |
(FMLiveSwitchCodecType) | - codecType |
Gets the codec type, "encode" or "decode", depending on whether this object represents a media format that the implementation is prepared to encode or decode. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
(bool) | - isEquivalentWithInstance: |
Checks if a codec is equivalent to this one. More... | |
(NSString *) | - name |
Gets the name. More... | |
(NSString *) | - parameters |
Gets the parameters. More... | |
(int) | - payloadType |
Gets the payload type. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(NSString *) | - toJson |
Serializes this to JSON. More... | |
Instance Methods inherited from FMLiveSwitchBaseStats | |
(NSString *) | - id |
Gets the identifier of the object generating these stats. More... | |
(NSDate *) | - timestamp |
Gets the timestamp when these stats were generated. More... | |
Instance Methods inherited from <FMLiveSwitchIEquivalent> | |
(bool) | - isEquivalentWithInstance: |
Checks if an instance is equivalent to this one. More... | |
Class Methods | |
(FMLiveSwitchCodecStats *) | + codecStats |
(FMLiveSwitchCodecStats *) | + fromJsonWithCodecJson: |
Derializes codec stats from JSON. More... | |
(NSString *) | + toJsonWithCodec: |
Serializes codec stats to JSON. More... | |
Class Methods inherited from FMLiveSwitchBaseStats | |
(FMLiveSwitchBaseStats *) | + baseStats |
Codec stats.
- (int) channelCount |
Gets the channel count.
- (int) clockRate |
Gets the clock rate.
+ (FMLiveSwitchCodecStats*) codecStats |
- (FMLiveSwitchCodecType) codecType |
Gets the codec type, "encode" or "decode", depending on whether this object represents a media format that the implementation is prepared to encode or decode.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
+ (FMLiveSwitchCodecStats*) fromJsonWithCodecJson: | (NSString *) | codecJson |
Derializes codec stats from JSON.
codecJson | The codec's stats JSON. |
- (instancetype) init |
Implements FMLiveSwitchBaseStats.
- (bool) isEquivalentWithInstance: | (FMLiveSwitchCodecStats *) | instance |
Checks if a codec is equivalent to this one.
instance | The codec. |
- (NSString*) name |
Gets the name.
- (NSString*) parameters |
Gets the parameters.
- (int) payloadType |
Gets the payload type.
- (NSString*) toJson |
Serializes this to JSON.
+ (NSString*) toJsonWithCodec: | (FMLiveSwitchCodecStats *) | codec |
Serializes codec stats to JSON.
codec | The codec's stats. |