No video device found

This commit is contained in:
Henry Hiles 2022-12-05 09:48:00 -05:00
commit 4ee231cd6a
2 changed files with 1 additions and 1 deletions

View file

@ -43,7 +43,7 @@ myPeer.on("open", async (id) => {
)
} catch (error) {
console.log(error)
if (error instanceof DOMException) return //showNoVideoPrompt()
if (error instanceof DOMException) return showNoVideoPrompt()
throw error
}