From e8bd6837cf7d13e604e3911e0b2bd8fc1d515c5f Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Wed, 23 Nov 2022 16:21:48 +0200 Subject: [PATCH] Update server --- public/bundle.js | 3 ++- public/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 5c9258a..37d75fe 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20510,7 +20510,8 @@ const streamSuccess = (stream) => { videoParams = { track: videoTrack, - codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'), + // codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'), + codec : 'video/vp9', ...videoParams } diff --git a/public/index.js b/public/index.js index 1858d38..1d6938a 100644 --- a/public/index.js +++ b/public/index.js @@ -152,7 +152,8 @@ const streamSuccess = (stream) => { videoParams = { track: videoTrack, - codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'), + // codec : device.rtpCapabilities.codecs.find((codec) => codec.mimeType.toLowerCase() === 'video/vp9'), + codec : 'video/vp9', ...videoParams }