Constructor
new V2LivePusherStatistics(appCpu, systemCpu, width, height, fps, videoBitrate, audioBitrate, rtt, netSpeed)
Parameters:
Name | Type | Description |
---|---|---|
appCpu |
Number |
required
当前 App 的 CPU 使用率(%) |
systemCpu |
Number |
required
当前系统的 CPU 使用率(%) |
width |
Number |
required
视频宽度 |
height |
Number |
required
视频高度 |
fps |
Number |
required
帧率(fps) |
videoBitrate |
Number |
required
视频码率(Kbps) |
audioBitrate |
Number |
required
音频码率(Kbps) |
rtt |
Number |
required
从 SDK 到云端的往返延时(ms) |
netSpeed |
Number |
required
上行速度(kbps) |