mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Remove dead code.
This commit is contained in:
parent
3fec035132
commit
175b08bb08
1 changed files with 0 additions and 3 deletions
|
@ -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({});
|
||||
|
|
Loading…
Reference in a new issue