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