pull/280/head
Vladimir Mandic 2021-05-26 07:59:52 -04:00
parent da7721d580
commit 1af638c5c5
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ async function setupCamera() {
}
const tracks = stream.getVideoTracks();
if (tracks && tracks.length >= 1) {
if (tracks.length >= 1) {
if (tracks.length > 1) {
log('enumerated viable tracks:', tracks.length);
for (const t of tracks) log(` ${t.kind}: ${t.label}`);
}