Commit 175b08bb authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove dead code.

parent 3fec0351
......@@ -211,7 +211,6 @@ async function setLocalMedia(setup) {
if(!localMediaId) {
let constraints = {audio: true, video: true};
let opts = {video: true, audio: true};
let stream = null;
try {
stream = await navigator.mediaDevices.getUserMedia(constraints);
......@@ -254,8 +253,6 @@ async function setShareMedia(setup) {
return;
}
if(!shareMediaId) {
let constraints = {audio: true, video: true};
let opts = {video: true, audio: true};
let stream = null;
try {
stream = await navigator.mediaDevices.getDisplayMedia({});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment