Fix race condition

This commit is contained in:
Santiago Lo Coco 2024-11-21 20:35:16 +01:00
parent 98a9943234
commit 99a2b6adab
2 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,12 @@ The Docker image will automatically generate the necessary configurations for yo
docker run --rm -v ${PWD}:/app/data se23m504/startstreaming docker run --rm -v ${PWD}:/app/data se23m504/startstreaming
``` ```
Then, run the powershell auto-generated script:
```
./start.bat
```
## Build ## Build
The image is already available on DockerHub, but if you need to build it again for any reason, run the following command from the root directory: The image is already available on DockerHub, but if you need to build it again for any reason, run the following command from the root directory:

View File

@ -24,6 +24,8 @@ echo Starting docker compose
cd ".\mediamtx" cd ".\mediamtx"
docker compose up -d docker compose up -d
timeout /t 3 >nul
{{OBS_INSTANCES}} {{OBS_INSTANCES}}
pause pause