pull/134/head
Vladimir Mandic 2021-05-26 07:59:52 -04:00
parent c1304c2688
commit 52c4993dbe
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}`);
}