Transport stats. More...
Instance Methods | |
(FMLiveSwitchCandidatePairStats *) | - activeCandidatePair |
Gets the active candidate pair's stats. More... | |
(long long) | - bytesReceived |
Gets the number of bytes received. More... | |
(long long) | - bytesSent |
Gets the number of bytes sent. More... | |
(NSMutableArray *) | - candidatePairs |
Gets the candidate pairs' stats. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(FMLiveSwitchCandidatePairStats *) | - getCandidatePairWithCandidatePairId: |
Gets a candidate pair by its identifier. More... | |
(FMLiveSwitchCandidateStats *) | - getLocalCandidateWithCandidateId: |
Gets a local candidate by its identifier. More... | |
(FMLiveSwitchCandidateStats *) | - getRemoteCandidateWithCandidateId: |
Gets a remote candidate by its identifier. More... | |
(instancetype) | - init |
(bool) | - isHost |
Gets whether the active candidate pair has a host candidate. More... | |
(bool) | - isReflexive |
Gets whether the active candidate pair has a reflexive candidate. More... | |
(bool) | - isRelayed |
Gets whether the active candidate pair has a relayed candidate. More... | |
(NSMutableArray *) | - localCandidates |
Gets the local candidates' stats. More... | |
(FMLiveSwitchCertificateStats *) | - localCertificate |
Gets the local certificate's stats. More... | |
(NSMutableArray *) | - remoteCandidates |
Gets the remote candidates' stats. More... | |
(FMLiveSwitchCertificateStats *) | - remoteCertificate |
Gets the remote certificate's stats. More... | |
(FMLiveSwitchTransportStats *) | - rtcpTransport |
Gets the RTCP transport's stats. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setActiveCandidatePair: |
Sets the active candidate pair's stats. More... | |
(void) | - setBytesReceived: |
Sets the number of bytes received. More... | |
(void) | - setBytesSent: |
Sets the number of bytes sent. More... | |
(void) | - setCandidatePairs: |
Sets the candidate pairs' stats. More... | |
(void) | - setLocalCandidates: |
Sets the local candidates' stats. More... | |
(void) | - setLocalCertificate: |
Sets the local certificate's stats. More... | |
(void) | - setRemoteCandidates: |
Sets the remote candidates' stats. More... | |
(void) | - setRemoteCertificate: |
Sets the remote certificate's stats. More... | |
(void) | - setRtcpTransport: |
Sets the RTCP transport's stats. 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... | |
Class Methods | |
(FMLiveSwitchTransportStats *) | + fromJsonWithTransportJson: |
Derializes transport stats from JSON. More... | |
(NSString *) | + toJsonWithTransport: |
Serializes transport stats to JSON. More... | |
(FMLiveSwitchTransportStats *) | + transportStats |
Class Methods inherited from FMLiveSwitchBaseStats | |
(FMLiveSwitchBaseStats *) | + baseStats |
Transport stats.
- (FMLiveSwitchCandidatePairStats*) activeCandidatePair |
Gets the active candidate pair's stats.
- (long long) bytesReceived |
Gets the number of bytes received.
- (long long) bytesSent |
Gets the number of bytes sent.
- (NSMutableArray*) candidatePairs |
Gets the candidate pairs' stats.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
+ (FMLiveSwitchTransportStats*) fromJsonWithTransportJson: | (NSString *) | transportJson |
Derializes transport stats from JSON.
transportJson | The transport's stats JSON. |
- (FMLiveSwitchCandidatePairStats*) getCandidatePairWithCandidatePairId: | (NSString *) | candidatePairId |
Gets a candidate pair by its identifier.
candidatePairId | The candidate pair identifier. |
- (FMLiveSwitchCandidateStats*) getLocalCandidateWithCandidateId: | (NSString *) | candidateId |
Gets a local candidate by its identifier.
candidateId | The candidate identifier. |
- (FMLiveSwitchCandidateStats*) getRemoteCandidateWithCandidateId: | (NSString *) | candidateId |
Gets a remote candidate by its identifier.
candidateId | The candidate identifier. |
- (instancetype) init |
Implements FMLiveSwitchBaseStats.
- (bool) isHost |
Gets whether the active candidate pair has a host candidate.
- (bool) isReflexive |
Gets whether the active candidate pair has a reflexive candidate.
- (bool) isRelayed |
Gets whether the active candidate pair has a relayed candidate.
- (NSMutableArray*) localCandidates |
Gets the local candidates' stats.
- (FMLiveSwitchCertificateStats*) localCertificate |
Gets the local certificate's stats.
- (NSMutableArray*) remoteCandidates |
Gets the remote candidates' stats.
- (FMLiveSwitchCertificateStats*) remoteCertificate |
Gets the remote certificate's stats.
- (FMLiveSwitchTransportStats*) rtcpTransport |
Gets the RTCP transport's stats.
- (void) setActiveCandidatePair: | (FMLiveSwitchCandidatePairStats *) | value |
Sets the active candidate pair's stats.
- (void) setBytesReceived: | (long long) | value |
Sets the number of bytes received.
- (void) setBytesSent: | (long long) | value |
Sets the number of bytes sent.
- (void) setCandidatePairs: | (NSMutableArray *) | value |
Sets the candidate pairs' stats.
- (void) setLocalCandidates: | (NSMutableArray *) | value |
Sets the local candidates' stats.
- (void) setLocalCertificate: | (FMLiveSwitchCertificateStats *) | value |
Sets the local certificate's stats.
- (void) setRemoteCandidates: | (NSMutableArray *) | value |
Sets the remote candidates' stats.
- (void) setRemoteCertificate: | (FMLiveSwitchCertificateStats *) | value |
Sets the remote certificate's stats.
- (void) setRtcpTransport: | (FMLiveSwitchTransportStats *) | value |
Sets the RTCP transport's stats.
- (NSString*) toJson |
Serializes this to JSON.
+ (NSString*) toJsonWithTransport: | (FMLiveSwitchTransportStats *) | transport |
Serializes transport stats to JSON.
transport | The transport's stats. |
+ (FMLiveSwitchTransportStats*) transportStats |