TRTCLocalStatistics

TRTCLocalStatistics

Local audio/video metrics

Constructor

new TRTCLocalStatistics(width, height, frameRate, videoBitrate, audioSampleRate, audioBitrate, streamType)

Parameters:
Name Type Description
width Number

local video width in px

height Number

local video height in px

frameRate Number

local video frame rate in fps, i.e., how many video frames there are per second

videoBitrate Number

remote video bitrate in Kbps, i.e., how much video data is generated per second

audioSampleRate Number

emote audio sample rate (Hz)

audioBitrate Number

local audio bitrate in Kbps, i.e., how much audio data is generated per second

streamType TRTCVideoStreamType

video stream type (HD big image | smooth small image | substream image)