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 } },