improve documentation (#5985)

This commit is contained in:
Alessandro Ros
2026-07-24 15:43:06 +02:00
committed by GitHub
parent 519a04e490
commit 83e04d8255
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -58,8 +58,10 @@ The `1` tag corresponds to the latest `1.x.x` release, that should guarantee bac
The base image does not contain any utility, in order to minimize size and frequency of updates. If you need additional software (like curl, wget, GStreamer), you can build a custom image by creating a file named `Dockerfile` with this content:
```Dockerfile
```dockerfile
FROM bluenviron/mediamtx:1 AS mediamtx
# pick any Linux-based operating system you want.
FROM ubuntu:24.04
COPY --from=mediamtx /mediamtx /
@@ -78,8 +80,6 @@ And then build it:
docker build . -t my-mediamtx
```
This custom image is using the official _MediaMTX_ image as a base stage, and then adds a Linux-based operating system on top of it. You can use any Linux distribution or version you like, since _MediaMTX_ binaries are compatible with anything.
## Arch Linux package
If you are running the Arch Linux distribution, launch:
+2 -2
View File
@@ -1,6 +1,6 @@
# Basic usage
1. [Publish](../2-features/03-publish.md) a stream. For instance, you can publish a stream from a MP4 file with _FFmpeg_:
1. [Publish](../2-features/03-publish.md) a stream. For instance, you can publish a stream from a MP4 file with _FFmpeg_ and the RTSP protocol:
```sh
ffmpeg -re -stream_loop -1 -i file.mp4 -c copy \
@@ -14,7 +14,7 @@
! qtdemux name=d d.video_0 ! queue ! s.sink_0 d.audio_0 ! queue ! s.sink_1
```
2. [Read](../2-features/04-read.md) the stream. For instance, you can read the stream with _VLC_:
2. [Read](../2-features/04-read.md) the stream. For instance, you can read the stream with _VLC_ and the RTSP protocol:
```sh
vlc --network-caching=50 rtsp://localhost:8554/mystream
+1 -1
View File
@@ -26,7 +26,7 @@ And there are some client (browser) requirements:
- If the server certificate is self-signed, browser must support the [serverCertificatesHashes option](https://caniuse.com/mdn-api_webtransport_webtransport_options_servercertificatehashes_parameter) (all except iOS Safari do).
- Browser must support [WebTransport](https://caniuse.com/webtransport) and [WebCodecs](https://caniuse.com/webcodecs) (all modern browsers do)
- When publishing tracks, the browser to support [MediaStreamTrackProcessor](https://caniuse.com/mdn-api_mediastreamtrackprocessor) (only Chrome does).
- When publishing tracks, browser must support [MediaStreamTrackProcessor](https://caniuse.com/mdn-api_mediastreamtrackprocessor) (only Chrome does).
You can publish a stream with Media-over-QUIC and a web browser by visiting: