Giter Site home page Giter Site logo

mslosarz / nextrtc-videochat-with-rest Goto Github PK

View Code? Open in Web Editor NEW
15.0 6.0 16.0 126 KB

Application with spring security, spring rest, spring jpa to show how to use NextRTC signaling server with existing application (treat it like prototype!)

Home Page: https://restvideochat.nextrtc.org/

License: MIT License

Java 76.29% HTML 12.63% JavaScript 11.08%
nextrtc webrtc webrtc-demos webrtc-call webrtc-experiments

nextrtc-videochat-with-rest's Introduction

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?
  [Unknown]:  127.0.0.1
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=127.0.0.1, OU=Develepment, O=NextRTC, L=Cracow, ST=Malopolskie, C=PL corre
ct?
  [no]:  yes

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

then:
- run: mvn clean install && java -jar target/restvideochat.war
- enter https://localhost:8433 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 127.0.0.1


run with debug enabled on port 5005
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar target/restvideochat.war

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.