diff --git a/static/js/mediastream/usermedia.js b/static/js/mediastream/usermedia.js index 6825e60a..93b12a52 100644 --- a/static/js/mediastream/usermedia.js +++ b/static/js/mediastream/usermedia.js @@ -63,7 +63,8 @@ define(['jquery', 'underscore', 'audiocontext', 'webrtc.adapter'], function($, _ console.log("Requesting testGetUserMedia"); (function(complete) { - var success_helper = function() { + var success_helper = function(stream) { + stream.stop(); if (complete.done) { return; }