https://github.com/mslosarz/nextrtc-example-videochat
Most simple example of use NextRTC (WebRTC signaling server written in java) where two people can setup video call (treat it like prototype!)
https://github.com/mslosarz/nextrtc-example-videochat
nextrtc webrtc webrtc-call webrtc-demos
Last synced: 6 months ago
JSON representation
Most simple example of use NextRTC (WebRTC signaling server written in java) where two people can setup video call (treat it like prototype!)
- Host: GitHub
- URL: https://github.com/mslosarz/nextrtc-example-videochat
- Owner: mslosarz
- License: mit
- Created: 2015-04-03T15:04:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-08T12:53:47.000Z (over 6 years ago)
- Last Synced: 2024-04-15T10:06:08.340Z (about 1 year ago)
- Topics: nextrtc, webrtc, webrtc-call, webrtc-demos
- Language: JavaScript
- Homepage: https://videochat.nextrtc.org/
- Size: 297 KB
- Stars: 37
- Watchers: 7
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This example is available at page
[https://examples.nextrtc.org/](https://examples.nextrtc.org/)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):
```bash
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]: yesEnter key password for
(RETURN if same as keystore password):
```then:
* run: ```mvn clean install && java -jar target/videochat.war ```
* enter [https://localhost:8443](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 127.0.0.1_