Some improvements

This commit is contained in:
Henry Hiles 2022-06-22 10:45:09 -04:00
commit 03a1541aa0
4 changed files with 25 additions and 21 deletions

View file

@ -42,6 +42,7 @@ myPeer.on("open", async (id) => {
connectToNewUser(userId, username, stream, myPeer)
)
} catch (error) {
console.log(error)
if (error instanceof DOMException) return showNoVideoPrompt()
throw error