Skip to content
Most simple example of use NextRTC (WebRTC signaling server written in java) where two people can setup video call (treat it like prototype!)
Branch: master
Clone or download
Latest commit b0326a6 Sep 8, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Apr 3, 2015
pom.xml js client updated to version 1.0.4, and signaling server to 1.0.0-RC6 Jul 23, 2018

This example is available at page

Clone project and then

  • enter to directory with project
  • run: mvn clean install && java -jar target/videochat.war

enter to directory src/main/resources and generate self signed certificate (in repository certificate might be expired):

keytool -genkey -alias tomcat -keyalg RSA  -keystore keystore.jks
Enter keystore password: password
Re-enter new password: password
What is your first and last name?
What is the name of your organizational unit?
  [Unknown]:  Develepment
What is the name of your organization?
  [Unknown]:  NextRTC
What is the name of your City or Locality?
  [Unknown]:  Cracow
What is the name of your State or Province?
  [Unknown]:  Malopolskie
What is the two-letter country code for this unit?
  [Unknown]:  PL
Is CN=, OU=Develepment, O=NextRTC, L=Cracow, ST=Malopolskie, C=PL corre
  [no]:  yes

Enter key password for <tomcat>
  (RETURN if same as keystore password): <RETURN>


  • run: mvn clean install && java -jar target/videochat.war
  • enter https://localhost:8443 in your favourite browser (HTTPS is important, because default http handler isn't configured)
  • accept untrusted certificate

Sometimes websocket (js side) is throwing exception then try to change localhost to

You can’t perform that action at this time.