diff --git a/public/bundle.js b/public/bundle.js index 49c320a..dcadca7 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20525,7 +20525,7 @@ const streamSuccess = (stream) => { console.log('[streamSuccess]'); localVideo.srcObject = stream const track = stream.getVideoTracks()[0] - params = { + videoParams = { track, ...videoParams } diff --git a/public/index.js b/public/index.js index 93aca3e..72275b4 100644 --- a/public/index.js +++ b/public/index.js @@ -167,7 +167,7 @@ const streamSuccess = (stream) => { console.log('[streamSuccess]'); localVideo.srcObject = stream const track = stream.getVideoTracks()[0] - params = { + videoParams = { track, ...videoParams }