WebRTC Point-to-point video calling system
Main functions:
1, based on the WebSocket online user list;
2, use WebSocket as signaling channel, build WEBRTC video call.
Github:https://github.com/graceup/webrtc
Development Ide:myeclipse 8.6 Engineering Code: UTF-8
Environmental requirements: 1, TOMCAT requires more than 7.0 of the version
Note: When deploying, you need to change "ws://localhost:8080/" in the Js/config.js file to "ws://server computer IP: Port/".
Problems and Workarounds:
JAVA.LANG.NOSUCHMETHODEXCEPTION:ORG.APACHE.CATALINA.DEPLOY.WEBXML Addservlet Workaround: Add the context tag in the Tomcat installation file Context.xml to resolve the issue.
Java.lang.NoSuchMethodError:org.apache.catalina.connector.RequestFacade.doUpgrade (lorg/apache/coyote/http11/ Upgrade/upgradeinbound;) V Workaround: Locate the Lib folder in the Tomcat installation folder and delete the two jar files named "Catalina.jar" and "Tomcat-coyote.jar". Copy the two jar files named "Catalina.jar" and "Tomcat-coyote.jar" in the Webroot-->web-inf-->lib folder in this project to the Lib folder in the Tomcat installation folder.
PC-side, enter user name for initial Entry:
PC-side, has entered the page:
PC-side, call request prompt:
PC-side, enter video Call prompt:
PC-side, Video Call connection:
PC side, enter the video Call page (because there is no camera, so the display is just an image):
Mobile phone, initial Entry enter user name:
On the mobile side, the page has been entered:
Phone-side, Text chat page:
Mobile (Support WebRTC browser), go to the video Call page:
WebRTC Point-to-point video calling system