WebDevSimplified / Zoom-Clone-With-WebRTC

1.52k stars 865 forks source link

Fixes: user-disconnect event -> replaced const declaration of variable "peers" with let declaration and changed entry point of application to point to server.js instead of index.js #25

Open akkhilaysh opened 4 years ago

akkhilaysh commented 4 years ago

user-disconnect event -> replaced const declaration of variable "peers" with let declaration. The user-disconnect did not have any peers when triggered because "peers" was not updating due to const/final declaration.

Changed entry point of application to point to server.js instead of index.js