how ( stop,exit ) video in webrtc navigator user media JavaScript
You end a stream by closing all of its tracks: stream.getTracks().forEach(function(track) { track.stop(); })
You end a stream by closing all of its tracks: stream.getTracks().forEach(function(track) { track.stop(); })