The event detail.
data
encoding
: If encoding is true, the data is encoding video data statistics.avg_loss
: The video's average package loss.jitter
: The video's jitter.max_loss
: The video's maximum package loss.rtt
: The video's round trip time.sample_rate
: The video's sample rate.width
: The video's width.height
: The video's height.fps
: The video's frames per second (fps).type
: string VIDEO_QOS_DATA.client.on('video_statistic_data_change', (payload) => {
console.log('emit', payload);
});
Occurs when the video statistics data is changed; decode (received).