stop

fun stop()(source)

The stop() method of the MediaStreamTrack interface stops the track.

MDN Reference