Media component stats. More...
Instance Methods | |
| (FMLiveSwitchCodecStats *) | - codec |
| Gets the codec stats. More... | |
| (void) | - deserializePropertiesWithKey:valueJson: |
| Deserializes the properties. More... | |
| (long long) | - firCount |
| Gets the FIR count. More... | |
| (double) | - getMediaQualityWithAudio: |
| Gets the component's estimated media quality. More... | |
| (instancetype) | - init |
| (long long) | - lrrCount |
| Gets the LRR count. More... | |
| (long long) | - nackCount |
| Gets the NACK count. More... | |
| (long long) | - pliCount |
| Gets the PLI count. More... | |
| (NSString *) | - repairedRtpStreamId |
| Gets the repaired RTP stream identifier. More... | |
| (NSString *) | - rtpStreamId |
| Gets the RTP stream identifier. More... | |
| (void) | - serializePropertiesWithJsonObject: |
| Serializes the properties. More... | |
| (void) | - setCodec: |
| Sets the codec stats. More... | |
| (void) | - setFirCount: |
| Sets the FIR count. More... | |
| (void) | - setLrrCount: |
| Sets the LRR count. More... | |
| (void) | - setNackCount: |
| Sets the NACK count. More... | |
| (void) | - setPliCount: |
| Sets the PLI count. More... | |
| (void) | - setRepairedRtpStreamId: |
| Sets the repaired RTP stream identifier. More... | |
| (void) | - setRtpStreamId: |
| Sets the RTP stream identifier. More... | |
| (void) | - setSliCount: |
| Sets the SLI count. More... | |
| (void) | - setSynchronizationSource: |
| Sets the synchronization source. More... | |
| (void) | - setTrack: |
| Sets the track's stats. More... | |
| (long long) | - sliCount |
| Gets the SLI count. More... | |
| (long long) | - synchronizationSource |
| Gets the synchronization source. More... | |
| (FMLiveSwitchMediaTrackStats *) | - track |
| Gets the track's stats. 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 | |
| (FMLiveSwitchMediaComponentStats *) | + mediaComponentStats |
Class Methods inherited from FMLiveSwitchBaseStats | |
| (FMLiveSwitchBaseStats *) | + baseStats |
Media component stats.
| - (FMLiveSwitchCodecStats*) codec |
Gets the codec stats.
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
Implemented in FMLiveSwitchMediaSenderStats, and FMLiveSwitchMediaReceiverStats.
| - (long long) firCount |
Gets the FIR count.
| - (double) getMediaQualityWithAudio: | (bool) | audio |
Gets the component's estimated media quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
| audio | Whether these are audio stats. |
Implemented in FMLiveSwitchMediaReceiverStats.
| - (instancetype) init |
Implements FMLiveSwitchBaseStats.
Implemented in FMLiveSwitchMediaSenderStats, and FMLiveSwitchMediaReceiverStats.
| - (long long) lrrCount |
Gets the LRR count.
| + (FMLiveSwitchMediaComponentStats*) mediaComponentStats |
| - (long long) nackCount |
Gets the NACK count.
| - (long long) pliCount |
Gets the PLI count.
| - (NSString*) repairedRtpStreamId |
Gets the repaired RTP stream identifier.
| - (NSString*) rtpStreamId |
Gets the RTP stream identifier.
| - (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes the properties.
| jsonObject | The JSON object. |
Implements FMLiveSwitchBaseStats.
Implemented in FMLiveSwitchMediaSenderStats, and FMLiveSwitchMediaReceiverStats.
| - (void) setCodec: | (FMLiveSwitchCodecStats *) | value |
Sets the codec stats.
| - (void) setFirCount: | (long long) | value |
Sets the FIR count.
| - (void) setLrrCount: | (long long) | value |
Sets the LRR count.
| - (void) setNackCount: | (long long) | value |
Sets the NACK count.
| - (void) setPliCount: | (long long) | value |
Sets the PLI count.
| - (void) setRepairedRtpStreamId: | (NSString *) | value |
Sets the repaired RTP stream identifier.
| - (void) setRtpStreamId: | (NSString *) | value |
Sets the RTP stream identifier.
| - (void) setSliCount: | (long long) | value |
Sets the SLI count.
| - (void) setSynchronizationSource: | (long long) | value |
Sets the synchronization source.
| - (void) setTrack: | (FMLiveSwitchMediaTrackStats *) | value |
Sets the track's stats.
| - (long long) sliCount |
Gets the SLI count.
| - (long long) synchronizationSource |
Gets the synchronization source.
| - (FMLiveSwitchMediaTrackStats*) track |
Gets the track's stats.