|
|
@ -453,7 +453,7 @@ form label {
|
|
|
|
: videoSettings == 'true'
|
|
|
|
: videoSettings == 'true'
|
|
|
|
? true
|
|
|
|
? true
|
|
|
|
: { advanced: [{facingMode: videoSettings}] };
|
|
|
|
: { advanced: [{facingMode: videoSettings}] };
|
|
|
|
log("Created videoConstraints.");
|
|
|
|
log("Created videoConstraints: " + JSON.stringify(videoConstraints));
|
|
|
|
if (!videoConstraints && !audioSettings) return;
|
|
|
|
if (!videoConstraints && !audioSettings) return;
|
|
|
|
|
|
|
|
|
|
|
|
const stream = videoSettings == 'screen'
|
|
|
|
const stream = videoSettings == 'screen'
|
|
|
|