Fixes JS error when enable / disable video. Changes the enable / disable video function to send presence with videomuted element.
This commit is contained in:
parent
aaf444bae4
commit
f6a846eecc
13
app.js
13
app.js
|
@ -950,20 +950,11 @@ function toggleVideo() {
|
||||||
$('#video').removeClass("icon-camera icon-camera-disabled");
|
$('#video').removeClass("icon-camera icon-camera-disabled");
|
||||||
$('#video').addClass("icon-camera");
|
$('#video').addClass("icon-camera");
|
||||||
}
|
}
|
||||||
|
connection.emuc.addVideoInfoToPresence(isMuted);
|
||||||
|
connection.emuc.sendPresence();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
sess = focus || activecall;
|
|
||||||
if (!sess) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
sess.pendingop = ismuted ? 'unmute' : 'mute';
|
|
||||||
// connection.emuc.addVideoInfoToPresence(!ismuted);
|
|
||||||
// connection.emuc.sendPresence();
|
|
||||||
|
|
||||||
sess.modifySources();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue