onTrackUpdate

abstract fun onTrackUpdate(type: HMSTrackUpdate, track: HMSTrack, peer: HMSPeer)

Called if there is any update related to HMSTrack

Parameters

type

specifies the type of update of the track

track

the updated HMSTrack object

peer

the corresponding HMSPeer which contains this track