From e3f539ca8e240697302c3e0b19e4d6e8212d9008 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Wed, 6 Jan 2021 04:01:25 +0100 Subject: [PATCH] Fix: Firefox doesn't show the webcam permission dialogue --- front/src/WebRtc/MediaManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/WebRtc/MediaManager.ts b/front/src/WebRtc/MediaManager.ts index 4aa240cd..192490f6 100644 --- a/front/src/WebRtc/MediaManager.ts +++ b/front/src/WebRtc/MediaManager.ts @@ -13,7 +13,7 @@ if(localValueVideo){ let videoConstraint: boolean|MediaTrackConstraints = { width: { min: 640, ideal: 1280, max: 1920 }, height: { min: 400, ideal: 720 }, - frameRate: {exact: valueVideo, ideal: valueVideo}, + frameRate: {ideal: valueVideo}, facingMode: "user", resizeMode: 'crop-and-scale', aspectRatio: 1.777777778