Testing..

This commit is contained in:
Mahdi Dibaiee 2014-09-10 22:30:01 +04:30
parent ded78e428d
commit 93671f85d2

View File

@ -136,6 +136,7 @@ $(function() {
peer.on('call', function(call) { peer.on('call', function(call) {
navigator.getUserMedia({audio: true, video: true}, function(stream) { navigator.getUserMedia({audio: true, video: true}, function(stream) {
console.log(stream);
call.answer(stream); call.answer(stream);
if(!stream.getVideoTracks().length) { if(!stream.getVideoTracks().length) {
$('.self p').removeClass('hidden'); $('.self p').removeClass('hidden');