onLocalVideoStats

open fun onLocalVideoStats(videoStats: List<HMSLocalVideoStats>, hmsTrack: HMSTrack?, hmsPeer: HMSPeer?)

Callback to receive local video stats i.e publisher's video stats

Parameters

videoStats

It returns a list instead of object because when Adaptive bitrate is used, we tend to publish multiple video stream.

hmsTrack

local video track

hmsPeer

current local peer