Represents stats collected from the connection. More...
Instance Methods | |
| (long long) | - availableOutgoingBitrate |
| Gets the available outgoing bitrate. More... | |
| (bool) | - detached |
| Gets if the media track is detached. More... | |
| (NSString *) | - direction |
| Gets the direction the media is being sent. More... | |
| (int) | - frameHeight |
| Gets the height of the last encoded frame. More... | |
| (double) | - frameRate |
| Gets the number of encoded frames sent in the last second. More... | |
| (int) | - frameWidth |
| Gets the width of the last encoded frame. More... | |
| (NSString *) | - mediaType |
| Gets the type of media. More... | |
| (bool) | - muted |
| Gets if the media track is muted. More... | |
| (long long) | - nackCount |
| Gets the NACK count. More... | |
| (int) | - packetsLost |
| Gets the total packets lost. More... | |
| (double) | - percentLost |
| Gets the percent of packets lost. More... | |
| (long long) | - pliCount |
| Gets the PLI count. More... | |
| (FMLiveSwitchQualityLimitationDurations *) | - qualityLimitationDurations |
| Gets the durations for which quality has been limited for bandwidth, cpu, none, other. More... | |
| (NSString *) | - qualityLimitationReason |
| Gets the the reason for quality limitation. More... | |
| (long long) | - qualityLimitationResolutionChanges |
| Gets the count of resolution changes due to quality limitation. More... | |
| (void) | - setNackCount: |
| Sets the NACK count. More... | |
| (void) | - setPliCount: |
| Sets the PLI count. More... | |
| (bool) | - stopped |
| Gets if the media track is stopped. More... | |
| (int) | - targetBitrate |
| Gets the target bitrate of the encoder. More... | |
| (NSDate *) | - timestamp |
| Gets the timestamp when these stats were generated. More... | |
| (NSString *) | - toJson |
| Serializes this to JSON. More... | |
Class Methods | |
| (FMLiveSwitchTelemetryMediaStats *) | + createOutboundAudioStreamStats: |
| Create outbound audio stats. More... | |
| (FMLiveSwitchTelemetryMediaStats *) | + createOutboundVideoStatsWithVideoStreamStats: |
| Create outbound video stats. More... | |
| (FMLiveSwitchTelemetryMediaStats *) | + fromJsonWithMediaStatsJson: |
| Derializes media stats from JSON. More... | |
| (NSString *) | + toJsonWithOutboundVideoStats: |
| Serializes outbound video stats to JSON. More... | |
Represents stats collected from the connection.
| - (long long) availableOutgoingBitrate |
Gets the available outgoing bitrate.
| + (FMLiveSwitchTelemetryMediaStats*) createOutboundAudioStreamStats: | (FMLiveSwitchMediaStreamStats *) | audioStreamStats |
Create outbound audio stats.
| audioStreamStats |
| + (FMLiveSwitchTelemetryMediaStats*) createOutboundVideoStatsWithVideoStreamStats: | (FMLiveSwitchMediaStreamStats *) | videoStreamStats |
Create outbound video stats.
| videoStreamStats |
| - (bool) detached |
Gets if the media track is detached.
| - (NSString*) direction |
Gets the direction the media is being sent.
| - (int) frameHeight |
Gets the height of the last encoded frame.
| - (double) frameRate |
Gets the number of encoded frames sent in the last second.
| - (int) frameWidth |
Gets the width of the last encoded frame.
| + (FMLiveSwitchTelemetryMediaStats*) fromJsonWithMediaStatsJson: | (NSString *) | mediaStatsJson |
Derializes media stats from JSON.
| mediaStatsJson | The media stats JSON. |
| - (NSString*) mediaType |
Gets the type of media.
| - (bool) muted |
Gets if the media track is muted.
| - (long long) nackCount |
Gets the NACK count.
| - (int) packetsLost |
Gets the total packets lost.
| - (double) percentLost |
Gets the percent of packets lost.
| - (long long) pliCount |
Gets the PLI count.
| - (FMLiveSwitchQualityLimitationDurations*) qualityLimitationDurations |
Gets the durations for which quality has been limited for bandwidth, cpu, none, other.
| - (NSString*) qualityLimitationReason |
Gets the the reason for quality limitation.
| - (long long) qualityLimitationResolutionChanges |
Gets the count of resolution changes due to quality limitation.
| - (void) setNackCount: | (long long) | value |
Sets the NACK count.
| - (void) setPliCount: | (long long) | value |
Sets the PLI count.
| - (bool) stopped |
Gets if the media track is stopped.
| - (int) targetBitrate |
Gets the target bitrate of the encoder.
| - (NSDate*) timestamp |
Gets the timestamp when these stats were generated.
| - (NSString*) toJson |
Serializes this to JSON.
| + (NSString*) toJsonWithOutboundVideoStats: | (FMLiveSwitchTelemetryMediaStats *) | outboundVideoStats |
Serializes outbound video stats to JSON.
| outboundVideoStats | The outbound video stats. |