FMIceLinkCandidatePairStats Class Reference

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

Overview

Candidate pair stats.

– bytesReceived

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

Discussion

Gets the number of bytes received.

Declared In

FMIceLinkCandidatePairStats.h

– bytesSent

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

Discussion

Gets the number of bytes sent.

Declared In

FMIceLinkCandidatePairStats.h

– consentRequestsReceived

Gets the number of consent requests received.
- (long long)consentRequestsReceived

Discussion

Gets the number of consent requests received.

Declared In

FMIceLinkCandidatePairStats.h

– consentRequestsSent

Gets the number of consent requests sent.
- (long long)consentRequestsSent

Discussion

Gets the number of consent requests sent.

Declared In

FMIceLinkCandidatePairStats.h

– consentResponsesReceived

Gets the number of consent responses received.
- (long long)consentResponsesReceived

Discussion

Gets the number of consent responses received.

Declared In

FMIceLinkCandidatePairStats.h

– consentResponsesSent

Gets the number of consent responses sent.
- (long long)consentResponsesSent

Discussion

Gets the number of consent responses sent.

Declared In

FMIceLinkCandidatePairStats.h

– currentRoundTripTime

Gets the current round trip time in milliseconds.
- (double)currentRoundTripTime

Discussion

Gets the current round trip time in milliseconds.

Declared In

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

FMIceLinkCandidatePairStats.h

+ fromJsonArrayWithCandidatePairsJson:

Derializes an array of candidate pair stats from JSON.
+ (NSMutableArray *)fromJsonArrayWithCandidatePairsJson:(NSString *)candidatePairsJson

Parameters

candidatePairsJson

The candidate pairs' stats JSON. @return

Discussion

Derializes an array of candidate pair stats from JSON.

Declared In

FMIceLinkCandidatePairStats.h

+ fromJsonWithCandidatePairJson:

Derializes candidate pair stats from JSON.
+ (FMIceLinkCandidatePairStats *)fromJsonWithCandidatePairJson:(NSString *)candidatePairJson

Parameters

candidatePairJson

The candidate pair’s stats JSON. @return

Discussion

Derializes candidate pair stats from JSON.

Declared In

FMIceLinkCandidatePairStats.h

– localCandidateId

Gets the local candidate identifier.
- (NSString *)localCandidateId

Discussion

Gets the local candidate identifier.

Declared In

FMIceLinkCandidatePairStats.h

– nominated

Gets whether the candidate pair is nominated.
- (bool)nominated

Discussion

Gets whether the candidate pair is nominated.

Declared In

FMIceLinkCandidatePairStats.h

– priority

Gets the priority.
- (long long)priority

Discussion

Gets the priority.

Declared In

FMIceLinkCandidatePairStats.h

– remoteCandidateId

Gets the remote candidate identifier.
- (NSString *)remoteCandidateId

Discussion

Gets the remote candidate identifier.

Declared In

FMIceLinkCandidatePairStats.h

– requestsSent

Gets the number of requests sent.
- (long long)requestsSent

Discussion

Gets the number of requests sent.

Declared In

FMIceLinkCandidatePairStats.h

– responsesReceived

Gets the number of responses received.
- (long long)responsesReceived

Discussion

Gets the number of responses received.

Declared In

FMIceLinkCandidatePairStats.h

– serializePropertiesWithJsonObject:

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

Parameters

jsonObject

The JSON object.

Discussion

Serializes the properties.

Declared In

FMIceLinkCandidatePairStats.h

– state

Gets the state.
- (FMIceLinkCandidatePairState)state

Discussion

Gets the state.

Declared In

FMIceLinkCandidatePairStats.h

– toJson

Serializes this to JSON.

@return

- (NSString *)toJson

Discussion

Serializes this to JSON.

@return

Declared In

FMIceLinkCandidatePairStats.h

+ toJsonArrayWithCandidatePairs:

Serializes an array of candidate pair stats to JSON.
+ (NSString *)toJsonArrayWithCandidatePairs:(NSMutableArray *)candidatePairs

Parameters

candidatePairs

The candidate pairs' stats. @return

Discussion

Serializes an array of candidate pair stats to JSON.

Declared In

FMIceLinkCandidatePairStats.h

+ toJsonWithCandidatePair:

Serializes candidate pair stats to JSON.
+ (NSString *)toJsonWithCandidatePair:(FMIceLinkCandidatePairStats *)candidatePair

Parameters

candidatePair

The candidate pair’s stats. @return

Discussion

Serializes candidate pair stats to JSON.

Declared In

FMIceLinkCandidatePairStats.h

– totalRoundTripTime

Gets the total round trip time in milliseconds.
- (double)totalRoundTripTime

Discussion

Gets the total round trip time in milliseconds.

Declared In

FMIceLinkCandidatePairStats.h

– transportId

Gets the transport identifier.
- (NSString *)transportId

Discussion

Gets the transport identifier.

Declared In

FMIceLinkCandidatePairStats.h