Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKShareStatisticInfo Class Reference

Share statistic information. Inherits QOS fields (width, height, fps, bps, direction, networkLevel, statisticsType) from ZMVideoSDKQOSStatistics. More...

#include <ZMVideoSDKUserHelper.h>

Inherits ZMVideoSDKQOSStatistics.

Properties

int bpf
 Gets share bits per frame. Same as bps.
ZMVideoSDKNetworkStatus shareNetworkStatus
 Gets share network status. Same as networkLevel.
Properties inherited from ZMVideoSDKQOSStatistics
ZMVideoSDKStatisticsDirection direction
 Gets the direction of statistics (send or receive).
NSInteger timestamp
 Gets the timestamp of the statistics.
NSString *_Nullable codecName
 Gets the name of the codec. For video/share: "h264", "av1". For audio: "silk", "opus", "pcm", "G722", "G729". Valid only during callback execution.
NSInteger rtt
 Gets the round-trip time in milliseconds.
NSInteger jitter
 Gets the jitter in milliseconds.
NSInteger width
 Frame width (sent or received per direction).
NSInteger height
 Frame height (sent or received per direction).
NSInteger fps
 Frame rate in FPS (sent or received per direction).
NSInteger bps
 Gets the bits per second.
NSInteger bytesTransferred
 Gets the total bytes transferred (sent or received per direction).
NSInteger packetsLost
 Gets the number of packets lost during transmission.
NSInteger packetsTransferred
 Gets the total number of packets transferred (sent or received per direction).
ZMVideoSDKNetworkStatus networkLevel
 Gets the network quality level.
ZMVideoSDKDataType statisticsType
 Gets the statistics type (Audio, Video, or Share).
NSInteger avg_loss
 Gets the average packet loss ratio in per thousand (e.g. 100 means 10%).
NSInteger max_loss
 Gets the maximum packet loss ratio in per thousand (e.g. 100 means 10%).
NSInteger bandwidth
 Gets the estimated bandwidth in bps.

Detailed Description

Share statistic information. Inherits QOS fields (width, height, fps, bps, direction, networkLevel, statisticsType) from ZMVideoSDKQOSStatistics.

Definition at line 262 of file ZMVideoSDKUserHelper.h.

Property Documentation

◆ bpf

- (int) bpf
readnonatomicassign

Gets share bits per frame. Same as bps.

Deprecated
Use bps instead.

Definition at line 268 of file ZMVideoSDKUserHelper.h.

◆ shareNetworkStatus

- (ZMVideoSDKNetworkStatus) shareNetworkStatus
readnonatomicassign

Gets share network status. Same as networkLevel.

Deprecated
Use networkLevel instead.

Definition at line 274 of file ZMVideoSDKUserHelper.h.