mirror of https://github.com/OpenVidu/openvidu.git
'openvidu.security' property removed
parent
74643c9fda
commit
9f3b701b07
|
@ -34,7 +34,7 @@ We have implemented a very basic demo application to see OpenVidu in action. To
|
||||||
- Run this Docker container
|
- Run this Docker container
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -p 5000:5000 -p 4040:4040 -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 -e openvidu.security=false openvidu/openvidu-plainjs-demo
|
docker run -p 5000:5000 -p 4040:4040 -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 openvidu/openvidu-plainjs-demo
|
||||||
```
|
```
|
||||||
|
|
||||||
- Wait until you see a public URL ended with `.ngrok.io`. You can connect locally in [`localhost:5000`](http://localhost:5000) or by using the ngrok public URL. You can also share this URL with anyone you want to test the app over the Internet!
|
- Wait until you see a public URL ended with `.ngrok.io`. You can connect locally in [`localhost:5000`](http://localhost:5000) or by using the ngrok public URL. You can also share this URL with anyone you want to test the app over the Internet!
|
||||||
|
@ -51,7 +51,7 @@ Building a simple app with OpenVidu
|
||||||
OpenVidu has a traditional **Client - Server** architecture built on three modules that are shown in the image above. To run **openvidu-server** and **Kurento Media Server** you can execute the following container:
|
OpenVidu has a traditional **Client - Server** architecture built on three modules that are shown in the image above. To run **openvidu-server** and **Kurento Media Server** you can execute the following container:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -p 8443:8443 --rm -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 -e openvidu.security=false openvidu/openvidu-server-kms
|
docker run -p 8443:8443 --rm -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 openvidu/openvidu-server-kms
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -486,7 +486,7 @@ Here you have a step by step guide to deploy a production version of OpenVidu in
|
||||||
7. Init openvidu-server Docker container (securization enabled)
|
7. Init openvidu-server Docker container (securization enabled)
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo docker run -d -p 8443:8443 -e openvidu.security=true -e openvidu.secret=YOUR_SECRET -e kms.uris=[\"ws://YOUR_MACHINE'S_INTERNAL_IP:8888/kurento\"] openvidu/openvidu-server
|
sudo docker run -d -p 8443:8443 -e openvidu.secret=YOUR_SECRET -e kms.uris=[\"ws://YOUR_MACHINE'S_INTERNAL_IP:8888/kurento\"] openvidu/openvidu-server
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
cd openvidu-browser/src/main/resources
|
|
||||||
|
|
||||||
npm run updatetsc
|
|
||||||
npm run browserify
|
|
||||||
|
|
||||||
cd ../../../../
|
|
||||||
|
|
||||||
# openvidu-sample-basic-plainjs
|
|
||||||
cp openvidu-browser/src/main/resources/static/js/OpenVidu.js ../openvidu-tutorials/openvidu-insecure-js/web/OpenVidu.js
|
|
||||||
|
|
||||||
cd ../openvidu-docker/openvidu-plainjs-demo
|
|
||||||
./create_image.sh
|
|
||||||
|
|
||||||
docker rm $(docker ps -q -f status=exited)
|
|
||||||
docker rmi $(docker images -q -f dangling=true)
|
|
||||||
|
|
||||||
docker run -p 5000:5000 -p 4040:4040 -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 -e openvidu.security=false openvidu/openvidu-plainjs-demo
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
mvn clean compile package
|
|
||||||
|
|
||||||
cp target/openvidu-backend-client-1.0.0-beta.1.jar target/openvidu-backend-client.jar
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cd frontend
|
||||||
|
ng build --output-path ../../main/resources/static
|
||||||
|
cd ../../../
|
||||||
|
mvn -DskipTests=true clean compile package
|
|
@ -2,5 +2,5 @@
|
||||||
cd frontend
|
cd frontend
|
||||||
ng build --output-path ../../main/resources/static
|
ng build --output-path ../../main/resources/static
|
||||||
cd ../../../
|
cd ../../../
|
||||||
mvn -DskipTests=true clean package
|
mvn -DskipTests=true clean compile package
|
||||||
mvn -Dopenvidu.security=$1 exec:java
|
mvn exec:java
|
||||||
|
|
|
@ -7,5 +7,4 @@ server.ssl.keyAlias: kurento-selfsigned
|
||||||
kms.uris=[\"ws://localhost:8888/kurento\"]
|
kms.uris=[\"ws://localhost:8888/kurento\"]
|
||||||
|
|
||||||
openvidu.secret: MY_SECRET
|
openvidu.secret: MY_SECRET
|
||||||
openvidu.security: false
|
|
||||||
openvidu.publicurl: local
|
openvidu.publicurl: local
|
|
@ -1,9 +1,4 @@
|
||||||
cd openvidu-browser/src/main/resources
|
VERSION="$1"
|
||||||
|
|
||||||
npm run updatetsc
|
|
||||||
VERSION="$1" npm run browserify-prod
|
|
||||||
|
|
||||||
cd ../../../../
|
|
||||||
|
|
||||||
# openvidu-insecure-js
|
# openvidu-insecure-js
|
||||||
cp openvidu-browser/src/main/resources/static/js/openvidu-browser-"$1".min.js ../openvidu-tutorials/openvidu-insecure-js/web/openvidu-browser-"$1".min.js
|
cp openvidu-browser/src/main/resources/static/js/openvidu-browser-"$1".min.js ../openvidu-tutorials/openvidu-insecure-js/web/openvidu-browser-"$1".min.js
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
cd openvidu-browser/src/main/resources
|
VERSION="$1"
|
||||||
|
|
||||||
npm run updatetsc
|
|
||||||
VERSION="$1" npm run browserify
|
|
||||||
|
|
||||||
cd ../../../../
|
|
||||||
|
|
||||||
# openvidu-insecure-js
|
# openvidu-insecure-js
|
||||||
cp openvidu-browser/src/main/resources/static/js/openvidu-browser-"$1".js ../openvidu-tutorials/openvidu-insecure-js/web/openvidu-browser-"$1".js
|
cp openvidu-browser/src/main/resources/static/js/openvidu-browser-"$1".js ../openvidu-tutorials/openvidu-insecure-js/web/openvidu-browser-"$1".js
|
||||||
|
|
Loading…
Reference in New Issue