Testing..
This commit is contained in:
parent
ded78e428d
commit
93671f85d2
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user