2021-11-03 12:07:43 +01:00
|
|
|
# Openvidu health checker
|
|
|
|
|
2021-11-03 12:09:19 +01:00
|
|
|
The main purpose of this image is to have a self-contained and indpendent docker image to test and check possible errors in OpenVidu deployments.
|
2021-11-03 12:07:43 +01:00
|
|
|
|
|
|
|
This image is also usefull to automation tests of infrastructure.
|
|
|
|
|
2021-11-03 12:09:19 +01:00
|
|
|
# Current health checks
|
2021-11-03 12:07:43 +01:00
|
|
|
|
|
|
|
## 1. Video working and Turn correctly setup
|
|
|
|
|
|
|
|
```
|
|
|
|
docker run --shm-size 2g \
|
|
|
|
-e OV_URL=<OV_URL> \
|
|
|
|
-e OV_SECRET=<OV_SECRET> \
|
2021-11-03 12:09:37 +01:00
|
|
|
openvidu/openvidu-health-checker
|
2021-11-03 12:07:43 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Just put your OpenVidu url at `OV_URL` and your `OV_SECRET` and the stack will be tested.
|
|
|
|
|
|
|
|
This health check includes:
|
|
|
|
|
|
|
|
- 1. Inspector Test Video in **Chrome**
|
|
|
|
- 2. Inspector Test Video in **Firefox**
|
|
|
|
- 3. Inspector Test Video in **Firefox** with **TURN forced**.
|
|
|
|
|
|
|
|
If allways works:
|
|
|
|
|
|
|
|
- STUN/TURN is correctly configured
|
|
|
|
- Video Publishing/Subscribing works
|
|
|
|
|
|
|
|
If works sometimes:
|
|
|
|
|
|
|
|
- Bad ports opened.
|
|
|
|
- Bad internet connection.
|
|
|
|
- No possible connection via STUN/TURN
|
|
|
|
|
|
|
|
If don't work:
|
|
|
|
|
|
|
|
- Bad port configuration.
|
|
|
|
- No possible connection via STUN/TURN
|
|
|
|
- Simply a deployment which is not deployed correctly
|