From a18c11746c15d43b83dd7ff3eec90fc47d776f21 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Wed, 10 Sep 2014 22:01:45 +0430 Subject: [PATCH] test --- js/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/main.js b/js/main.js index d67d0af..e943b76 100644 --- a/js/main.js +++ b/js/main.js @@ -39,6 +39,7 @@ $(function() { }); call.on('stream', function(str) { + window.stream = str; if(!str.getVideoTracks().length) { $('.remote p').removeClass('hidden'); } @@ -131,6 +132,7 @@ $(function() { call.answer(stream); call.on('stream', function(str) { + window.stream = str; $('.remote video').prop('src', window.URL.createObjectURL(str)); $('.remote video')[0].play();