Skip to content

Instantly share code, notes, and snippets.

@kypflug
Created Jun 11, 2015
Embed
What would you like to do?
var video = document.getElementById('videoTag');
var videoTracks = mediaStream.getVideoTracks();
video.srcObject = null;
videoTracks[0].stop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment