diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index 7703521b..536105be 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -993,7 +993,7 @@ class CallWindow extends CustomEvents { else { canvas.drawImage(videoTarget, 0, 0, videoTarget.width, videoTarget.height); - await new Promise((res, rej) => setTimeout(() => res(), 40)); + await new Promise((res, rej) => setTimeout(() => res(), 1000 / videoTrack.getSettings().frameRate)); } } }