FMIceLinkMediaTrackStats Class Reference

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

Overview

Media track stats.

– 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

FMIceLinkMediaTrackStats.h

– detached

Gets whether the track is detached.
- (bool)detached

Discussion

Gets whether the track is detached.

Declared In

FMIceLinkMediaTrackStats.h

– frameHeight

Gets the frame height. Video-only. Set by encoder or decoder.
- (int)frameHeight

Discussion

Gets the frame height. Video-only. Set by encoder or decoder.

Declared In

FMIceLinkMediaTrackStats.h

– frameRate

Gets the frame rate. Video-only. Set by encoder or decoder.
- (int)frameRate

Discussion

Gets the frame rate. Video-only. Set by encoder or decoder.

Declared In

FMIceLinkMediaTrackStats.h

– framesCorrupted

Gets the number of corrupted frames. Video-only. Set by depacketizer.
- (long long)framesCorrupted

Discussion

Gets the number of corrupted frames. Video-only. Set by depacketizer.

Declared In

FMIceLinkMediaTrackStats.h

– framesDecoded

Gets the number of frames decoded. Set by decoder.
- (long long)framesDecoded

Discussion

Gets the number of frames decoded. Set by decoder.

Declared In

FMIceLinkMediaTrackStats.h

– framesDropped

Gets the number of frames dropped. Video-only. Set by depacketizer.
- (long long)framesDropped

Discussion

Gets the number of frames dropped. Video-only. Set by depacketizer.

Declared In

FMIceLinkMediaTrackStats.h

– framesEncoded

Gets the number of frames encoded. Set by encoded.
- (long long)framesEncoded

Discussion

Gets the number of frames encoded. Set by encoded.

Declared In

FMIceLinkMediaTrackStats.h

– framesReceived

Gets the number of frames received. Set by depacketizer.
- (long long)framesReceived

Discussion

Gets the number of frames received. Set by depacketizer.

Declared In

FMIceLinkMediaTrackStats.h

– framesSent

Gets the number of frames sent. Set by packetizer.
- (long long)framesSent

Discussion

Gets the number of frames sent. Set by packetizer.

Declared In

FMIceLinkMediaTrackStats.h

– frameWidth

Gets the frame width. Video-only. Set by encoder or decoder.
- (int)frameWidth

Discussion

Gets the frame width. Video-only. Set by encoder or decoder.

Declared In

FMIceLinkMediaTrackStats.h

+ fromJsonArrayWithMediaTracksJson:

Derializes an array of media track stats from JSON.
+ (NSMutableArray *)fromJsonArrayWithMediaTracksJson:(NSString *)mediaTracksJson

Parameters

mediaTracksJson

The media tracks' stats JSON. @return

Discussion

Derializes an array of media track stats from JSON.

Declared In

FMIceLinkMediaTrackStats.h

+ fromJsonWithMediaTrackJson:

Derializes media track stats from JSON.
+ (FMIceLinkMediaTrackStats *)fromJsonWithMediaTrackJson:(NSString *)mediaTrackJson

Parameters

mediaTrackJson

The media track’s stats JSON. @return

Discussion

Derializes media track stats from JSON.

Declared In

FMIceLinkMediaTrackStats.h

– serializePropertiesWithJsonObject:

Serializes the properties.
- (void)serializePropertiesWithJsonObject:(NSMutableDictionary<NSString*,NSString*> *)jsonObject

Parameters

jsonObject

The JSON object.

Discussion

Serializes the properties.

Declared In

FMIceLinkMediaTrackStats.h

– stopped

Gets whether the track is stopped. Set by source.
- (bool)stopped

Discussion

Gets whether the track is stopped. Set by source.

Declared In

FMIceLinkMediaTrackStats.h

– synchronizationSource

Gets the first synchronization source.
- (long long)synchronizationSource

Discussion

Gets the first synchronization source.

Declared In

FMIceLinkMediaTrackStats.h

– synchronizationSources

Gets the synchronization sources.
- (NSMutableArray *)synchronizationSources

Discussion

Gets the synchronization sources.

Declared In

FMIceLinkMediaTrackStats.h

– toJson

Serializes this to JSON.

@return

- (NSString *)toJson

Discussion

Serializes this to JSON.

@return

Declared In

FMIceLinkMediaTrackStats.h

+ toJsonArrayWithMediaTracks:

Serializes an array of media track stats to JSON.
+ (NSString *)toJsonArrayWithMediaTracks:(NSMutableArray *)mediaTracks

Parameters

mediaTracks

The media tracks' stats. @return

Discussion

Serializes an array of media track stats to JSON.

Declared In

FMIceLinkMediaTrackStats.h

+ toJsonWithMediaTrack:

Serializes media track stats to JSON.
+ (NSString *)toJsonWithMediaTrack:(FMIceLinkMediaTrackStats *)mediaTrack

Parameters

mediaTrack

The media track’s stats. @return

Discussion

Serializes media track stats to JSON.

Declared In

FMIceLinkMediaTrackStats.h