From c2dbef191893b3e70cb691763da3c7af35cf8cd6 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Wed, 23 Nov 2022 16:00:54 +0200 Subject: [PATCH] Update server --- public/bundle.js | 3 +-- public/index.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 231b0cb..466e665 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20460,7 +20460,6 @@ let originAssetId // https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions // https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce -console.log('🟥 device', device); let videoParams = { encodings: [ { scaleResolutionDownBy: 4, maxBitrate: 500000 }, @@ -20505,7 +20504,7 @@ const streamSuccess = (stream) => { const getLocalStream = () => { console.log('[getLocalStream]'); navigator.mediaDevices.getUserMedia({ - audio: true, + audio: false, video: { qvga : { width: { ideal: 320 }, height: { ideal: 240 } }, vga : { width: { ideal: 640 }, height: { ideal: 480 } }, diff --git a/public/index.js b/public/index.js index 8093fc0..284dc30 100644 --- a/public/index.js +++ b/public/index.js @@ -102,7 +102,6 @@ let originAssetId // https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions // https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce -console.log('🟥 device', device); let videoParams = { encodings: [ { scaleResolutionDownBy: 4, maxBitrate: 500000 }, @@ -147,7 +146,7 @@ const streamSuccess = (stream) => { const getLocalStream = () => { console.log('[getLocalStream]'); navigator.mediaDevices.getUserMedia({ - audio: true, + audio: false, video: { qvga : { width: { ideal: 320 }, height: { ideal: 240 } }, vga : { width: { ideal: 640 }, height: { ideal: 480 } },