stop
Summary
Permanently halts the generation of data for the tracks’ sources and removes the references to the sources.
Method of apis/webrtc/LocalMediaStreamapis/webrtc/LocalMediaStream
Syntax
localStream.stop();
Return Value
No return value