remove wrong updates

This commit is contained in:
Андрей Бабушкин 2025-04-14 09:49:01 +02:00
parent dfa7400fa4
commit 7334946fa6

View file

@ -768,20 +768,6 @@ export default class Assist {
return;
}
if (!callUI) {
callUI = new CallWindow(app.debug.error, this.options.callUITemplate);
callUI.setVideoToggleCallback((args: { enabled: boolean }) => {
this.emit("videofeed", { streamId: from, enabled: args.enabled });
});
}
// show buttons in the call window
callUI.showControls(initiateCallEnd);
if (!annot) {
annot = new AnnotationCanvas();
annot.mount();
}
// get all local tracks and add them to RTCPeerConnection
// When we receive local ice candidates, we emit them via socket
pc.onicecandidate = (event) => {