Stream stats. More...
Instance Methods | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
(bool) | - isHost |
Gets whether the transport's active candidate pair has a host candidate. More... | |
(bool) | - isReflexive |
Gets whether the transport's active candidate pair has a reflexive candidate. More... | |
(bool) | - isRelayed |
Gets whether the transport's active candidate pair has a relayed candidate. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(FMLiveSwitchTransportStats *) | - transport |
Gets the transport's stats. More... | |
(FMLiveSwitchStreamType) | - type |
Gets the type. 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 | |
(FMLiveSwitchStreamStats *) | + streamStats |
Class Methods inherited from FMLiveSwitchBaseStats | |
(FMLiveSwitchBaseStats *) | + baseStats |
Stream stats.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
Implemented in FMLiveSwitchMediaStreamStats, and FMLiveSwitchDataStreamStats.
- (instancetype) init |
Implements FMLiveSwitchBaseStats.
Implemented in FMLiveSwitchMediaStreamStats, and FMLiveSwitchDataStreamStats.
- (bool) isHost |
Gets whether the transport's active candidate pair has a host candidate.
- (bool) isReflexive |
Gets whether the transport's active candidate pair has a reflexive candidate.
- (bool) isRelayed |
Gets whether the transport's active candidate pair has a relayed candidate.
- (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes the properties.
jsonObject | The JSON object. |
Implements FMLiveSwitchBaseStats.
Implemented in FMLiveSwitchMediaStreamStats, and FMLiveSwitchDataStreamStats.
+ (FMLiveSwitchStreamStats*) streamStats |
- (FMLiveSwitchTransportStats*) transport |
Gets the transport's stats.
- (FMLiveSwitchStreamType) type |
Gets the type.