5 Replies to “Create your own video conference web application using Java & JavaScript”

  1. Hi, I am able to run it on local machine and mobile phone as well. The only problem am facing is its not showing both participant only one participant video is visible. Any pointes for that?

    Thanks

    1. If everything went well then it should show both user’s video. You can first try testing you application in same computer with 2 different browsers windows. Both browser windows should show your video from same webcam.

      If abvoe itself is not working, something might be wrong. You can use ‘Developer Tool’ in your browser & see if websocket communication is happening correctly. Also verify that there is no error in javascript. If you see any error, then will need more info on error to analyze further. Hope this helps.

  2. conf.js?reload=true:19 WebSocket connection to ‘ws://127.0.0.1:8081/video-conf-tutorial/signal’ failed: Error during WebSocket handshake: Unexpected response code: 404

    getting this error. remote video not shown

    1. 404 means websocket endpoint itself is not reached. But since you are seeing this error, I assume that you did see HTML successfully which means war is deployed correctly. So I think somehow websocket endpoint is not being detected by your server.

      Not sure which server you are using. Please check if your server is latest & updated. Also verify server supports websocket endpoints. Also verify that your server supports “annotation” based websocket endpoints.

      We tested this in Apache Tomcat version 9.0 & it worked perfectly. Please try this.

      Hope this helps.

Leave a Reply

Your email address will not be published.