Constructor
new TRTCLocalStatistics(width, height, frameRate, videoBitrate, audioSampleRate, audioBitrate, streamType)
Parameters:
Name | Type | Description |
---|---|---|
width |
Number |
视频宽度 |
height |
Number |
视频高度 |
frameRate |
Number |
帧率(fps) |
videoBitrate |
Number |
视频发送码率(Kbps) |
audioSampleRate |
Number |
音频采样率(Hz) |
audioBitrate |
Number |
音频发送码率(Kbps) |
streamType |
TRTCVideoStreamType |
流类型(大画面 | 小画面 | 辅路画面) |