track

val track: MediaStreamTrack?

The underlying media track: a VideoTrack for a camera track, which VideoView.addTrack renders as the local preview, or an AudioTrack for a microphone track. null for a screen-share track. Disposing it releases the device, as stop does.