Update server

This commit is contained in:
Sergiu Toma 2022-11-24 13:38:28 +02:00
parent 6c42814229
commit 56b8e2ea74
2 changed files with 2 additions and 2 deletions

View File

@ -20535,7 +20535,7 @@ const streamSuccess = (stream) => {
const getLocalStream = () => { const getLocalStream = () => {
console.log('[getLocalStream]'); console.log('[getLocalStream]');
navigator.mediaDevices.getUserMedia({ navigator.mediaDevices.getUserMedia({
audio: false, audio: true,
video: { video: {
qvga : { width: { ideal: 320 }, height: { ideal: 240 } }, qvga : { width: { ideal: 320 }, height: { ideal: 240 } },
vga : { width: { ideal: 640 }, height: { ideal: 480 } }, vga : { width: { ideal: 640 }, height: { ideal: 480 } },

View File

@ -177,7 +177,7 @@ const streamSuccess = (stream) => {
const getLocalStream = () => { const getLocalStream = () => {
console.log('[getLocalStream]'); console.log('[getLocalStream]');
navigator.mediaDevices.getUserMedia({ navigator.mediaDevices.getUserMedia({
audio: false, audio: true,
video: { video: {
qvga : { width: { ideal: 320 }, height: { ideal: 240 } }, qvga : { width: { ideal: 320 }, height: { ideal: 240 } },
vga : { width: { ideal: 640 }, height: { ideal: 480 } }, vga : { width: { ideal: 640 }, height: { ideal: 480 } },