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 }