FMIceLinkCodecStats Class Reference

Inherits from FMIceLinkBaseStats : NSObject
Declared in FMIceLinkCodecStats.h
FMIceLinkCodecStats.m

Overview

Codec stats.

– channelCount

Gets the channel count.
- (int)channelCount

Discussion

Gets the channel count.

Declared In

FMIceLinkCodecStats.h

– clockRate

Gets the clock rate.
- (int)clockRate

Discussion

Gets the clock rate.

Declared In

FMIceLinkCodecStats.h

– 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.
- (FMIceLinkCodecType)codecType

Discussion

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.

Declared In

FMIceLinkCodecStats.h

– deserializePropertiesWithKey:valueJson:

Deserializes the properties.
- (void)deserializePropertiesWithKey:(NSString *)key valueJson:(NSString *)valueJson

Parameters

key

The key.

valueJson

The value in JSON format.

Discussion

Deserializes the properties.

Declared In

FMIceLinkCodecStats.h

+ fromJsonWithCodecJson:

Derializes codec stats from JSON.
+ (FMIceLinkCodecStats *)fromJsonWithCodecJson:(NSString *)codecJson

Parameters

codecJson

The codec’s stats JSON. @return

Discussion

Derializes codec stats from JSON.

Declared In

FMIceLinkCodecStats.h

– name

Gets the name.
- (NSString *)name

Discussion

Gets the name.

Declared In

FMIceLinkCodecStats.h

– parameters

Gets the parameters.
- (NSString *)parameters

Discussion

Gets the parameters.

Declared In

FMIceLinkCodecStats.h

– payloadType

Gets the payload type.
- (int)payloadType

Discussion

Gets the payload type.

Declared In

FMIceLinkCodecStats.h

– serializePropertiesWithJsonObject:

Serializes the properties.
- (void)serializePropertiesWithJsonObject:(NSMutableDictionary *)jsonObject

Parameters

jsonObject

The JSON object.

Discussion

Serializes the properties.

Declared In

FMIceLinkCodecStats.h

– toJson

Serializes this to JSON.

@return

- (NSString *)toJson

Discussion

Serializes this to JSON.

@return

Declared In

FMIceLinkCodecStats.h

+ toJsonWithCodec:

Serializes codec stats to JSON.
+ (NSString *)toJsonWithCodec:(FMIceLinkCodecStats *)codec

Parameters

codec

The codec’s stats. @return

Discussion

Serializes codec stats to JSON.

Declared In

FMIceLinkCodecStats.h