WebRTC Point-to-point video calling system

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.