add Track
Attaches a video track and starts rendering it.
Adding the track of the participant already attached is a no-op, so this is safe to call on every rebind or recomposition. For any other participant, call removeTrack first.
Parameters
the RTCStream.track of a MediaType.VIDEO or MediaType.SHARE stream, cast to VideoTrack, or the CustomStreamTrack.track of a camera track from VideoSDK.createCameraVideoTrack for a pre-call preview. null is ignored rather than clearing the view — use removeTrack for that.
Attaches a video track and reports renderer events — use it to swap a placeholder for the tile once real video arrives.
Parameters
as in addTrack.
told when the first frame is drawn and whenever the frame size changes, or null for no callbacks. It is wired the first time this view sets up its renderer; passing a different one on a later call has no effect.