From 30e957e93771d353237667072f2515431033e761 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Wed, 25 Mar 2020 13:52:01 +1100 Subject: [PATCH] Changed video max width Co-Authored-By: nthouliss --- src/helpers/useSession.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/helpers/useSession.js b/src/helpers/useSession.js index 641b648..b888089 100644 --- a/src/helpers/useSession.js +++ b/src/helpers/useSession.js @@ -71,7 +71,9 @@ function useSession(onConnectionOpen, onConnectionSync) { getUserMedia( { video: { - frameRate: { ideal: 15, max: 20 } + frameRate: { ideal: 15, max: 20 }, + width: { max: 256 }, + height: { max: 144 } }, audio: false },