Browse Source

update readme (#2177)

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

10
README.md

@ -107,7 +107,7 @@ _rtsp-simple-server_ has been rebranded as _MediaMTX_. The reason is pretty obvi
* [Authentication](#authentication) * [Authentication](#authentication)
* [Encrypt the configuration](#encrypt-the-configuration) * [Encrypt the configuration](#encrypt-the-configuration)
* [Remuxing, re-encoding, compression](#remuxing-re-encoding-compression) * [Remuxing, re-encoding, compression](#remuxing-re-encoding-compression)
* [Save streams on disk](#save-streams-on-disk) * [Save streams to disk](#save-streams-to-disk)
* [On-demand publishing](#on-demand-publishing) * [On-demand publishing](#on-demand-publishing)
* [Start on boot](#start-on-boot) * [Start on boot](#start-on-boot)
* [RTSP-specific features](#rtsp-specific-features) * [RTSP-specific features](#rtsp-specific-features)
@ -1133,13 +1133,13 @@ paths:
runOnReadyRestart: yes runOnReadyRestart: yes
``` ```
### Save streams on disk ### Save streams to disk
To save available streams on disk, use the `runOnReady` parameter and _FFmpeg_: To save available streams to disk, use the `runOnReady` parameter and _FFmpeg_:
```yml ```yml
paths: paths:
mypath: all:
runOnReady: > runOnReady: >
ffmpeg -i rtsp://localhost:$RTSP_PORT/$MTX_PATH ffmpeg -i rtsp://localhost:$RTSP_PORT/$MTX_PATH
-c copy -c copy
@ -1147,7 +1147,7 @@ paths:
runOnReadyRestart: yes runOnReadyRestart: yes
``` ```
In the configuratio above, streams are saved into TS files, that can be read even if the system crashes, while MP4 files can't. In the configuration above, streams are saved in MPEG-TS format, that is resilient to system crashes.
### On-demand publishing ### On-demand publishing

Loading…
Cancel
Save