FMIceLinkTransportStats Class Reference

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

Overview

Transport stats.

– activeCandidatePair

Gets the active candidate pair's stats.
- (FMIceLinkCandidatePairStats *)activeCandidatePair

Discussion

Gets the active candidate pair's stats.

Declared In

FMIceLinkTransportStats.h

– bytesReceived

Gets the number of bytes received.
- (long long)bytesReceived

Discussion

Gets the number of bytes received.

Declared In

FMIceLinkTransportStats.h

– bytesSent

Gets the number of bytes sent.
- (long long)bytesSent

Discussion

Gets the number of bytes sent.

Declared In

FMIceLinkTransportStats.h

– candidatePairs

Gets the candidate pairs' stats.
- (NSMutableArray *)candidatePairs

Discussion

Gets the candidate pairs' stats.

Declared In

FMIceLinkTransportStats.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

FMIceLinkTransportStats.h

+ fromJsonWithTransportJson:

Derializes transport stats from JSON.
+ (FMIceLinkTransportStats *)fromJsonWithTransportJson:(NSString *)transportJson

Parameters

transportJson

The transport’s stats JSON. @return

Discussion

Derializes transport stats from JSON.

Declared In

FMIceLinkTransportStats.h

– getCandidatePairWithCandidatePairId:

Gets a candidate pair by its identifier.
- (FMIceLinkCandidatePairStats *)getCandidatePairWithCandidatePairId:(NSString *)candidatePairId

Parameters

candidatePairId

The candidate pair identifier. @return

Discussion

Gets a candidate pair by its identifier.

Declared In

FMIceLinkTransportStats.h

– getLocalCandidateWithCandidateId:

Gets a local candidate by its identifier.
- (FMIceLinkCandidateStats *)getLocalCandidateWithCandidateId:(NSString *)candidateId

Parameters

candidateId

The candidate identifier. @return

Discussion

Gets a local candidate by its identifier.

Declared In

FMIceLinkTransportStats.h

– getRemoteCandidateWithCandidateId:

Gets a remote candidate by its identifier.
- (FMIceLinkCandidateStats *)getRemoteCandidateWithCandidateId:(NSString *)candidateId

Parameters

candidateId

The candidate identifier. @return

Discussion

Gets a remote candidate by its identifier.

Declared In

FMIceLinkTransportStats.h

– isHost

Gets whether the active candidate pair has a host candidate.
- (bool)isHost

Discussion

Gets whether the active candidate pair has a host candidate.

Declared In

FMIceLinkTransportStats.h

– isReflexive

Gets whether the active candidate pair has a reflexive candidate.
- (bool)isReflexive

Discussion

Gets whether the active candidate pair has a reflexive candidate.

Declared In

FMIceLinkTransportStats.h

– isRelayed

Gets whether the active candidate pair has a relayed candidate.
- (bool)isRelayed

Discussion

Gets whether the active candidate pair has a relayed candidate.

Declared In

FMIceLinkTransportStats.h

– localCandidates

Gets the local candidates' stats.
- (NSMutableArray *)localCandidates

Discussion

Gets the local candidates' stats.

Declared In

FMIceLinkTransportStats.h

– localCertificate

Gets the local certificate's stats.
- (FMIceLinkCertificateStats *)localCertificate

Discussion

Gets the local certificate's stats.

Declared In

FMIceLinkTransportStats.h

– remoteCandidates

Gets the remote candidates' stats.
- (NSMutableArray *)remoteCandidates

Discussion

Gets the remote candidates' stats.

Declared In

FMIceLinkTransportStats.h

– remoteCertificate

Gets the remote certificate's stats.
- (FMIceLinkCertificateStats *)remoteCertificate

Discussion

Gets the remote certificate's stats.

Declared In

FMIceLinkTransportStats.h

– rtcpTransport

Gets the RTCP transport's stats.
- (FMIceLinkTransportStats *)rtcpTransport

Discussion

Gets the RTCP transport's stats.

Declared In

FMIceLinkTransportStats.h

– serializePropertiesWithJsonObject:

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

Parameters

jsonObject

The JSON object.

Discussion

Serializes the properties.

Declared In

FMIceLinkTransportStats.h

– toJson

Serializes this to JSON.

@return

- (NSString *)toJson

Discussion

Serializes this to JSON.

@return

Declared In

FMIceLinkTransportStats.h

+ toJsonWithTransport:

Serializes transport stats to JSON.
+ (NSString *)toJsonWithTransport:(FMIceLinkTransportStats *)transport

Parameters

transport

The transport’s stats. @return

Discussion

Serializes transport stats to JSON.

Declared In

FMIceLinkTransportStats.h