stop

fun stop()

Releases the camera or microphone this track opened.

A track the room is publishing is left alone — the room owns it and Room.disableCam() / Room.muteMic() / Room.leave() release it; the stop is remembered, so the track ends as soon as the room lets the device go. Idempotent; any other track is ended at once.