The event detail.
data
encoding
: If encoding
is true, the following metrics stand for the Send data statistics, otherwise, it stands for the Receive data statistics.avg_loss
: The share video's average package loss.fps
: The share video's frames per second (FPS).height
: The share video's height.jitter
: The share video's jitter.max_loss
: The share video's maximum package loss.rtt
: The share video's round trip time.width
: The share video's width.type
: string VIDEOSHARE_QOS_DATA.client.on('share_statistic_data_change', (payload) => {
console.log('emit', payload);
});
Occurs when the share statistics data is changed during decoding (received) or encoding (sent).