Browse Source

update readme (#1944)

pull/1946/head
Alessandro Ros 3 years ago committed by GitHub
parent
commit
f1c437acf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      README.md

10
README.md

@ -117,7 +117,7 @@ There are several installation methods available: standalone binary, Docker imag @@ -117,7 +117,7 @@ There are several installation methods available: standalone binary, Docker imag
### Standalone binary
1. Download and extract a precompiled binary from the [release page](https://github.com/bluenviron/mediamtx/releases).
1. Download and extract a standalone binary from the [release page](https://github.com/bluenviron/mediamtx/releases).
2. Start the server:
@ -145,7 +145,13 @@ Available images: @@ -145,7 +145,13 @@ Available images:
The `--network=host` flag is mandatory since Docker can change the source port of UDP packets for routing reasons, and this doesn't allow the RTSP server to identify the senders of the packets. This issue can be avoided by disabling the UDP transport protocol:
```
docker run --rm -it -e MTX_PROTOCOLS=tcp -p 8554:8554 -p 1935:1935 -p 8888:8888 -p 8889:8889 bluenviron/mediamtx
docker run --rm -it \
-e MTX_PROTOCOLS=tcp \
-p 8554:8554 \
-p 1935:1935 \
-p 8888:8888 \
-p 8889:8889 \
bluenviron/mediamtx
```
### OpenWRT package

Loading…
Cancel
Save