fix readme

This commit is contained in:
aler9 2020-02-18 13:14:29 +01:00 committed by GitHub
parent 2133737b2a
commit 26f57e02df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -47,12 +47,12 @@ Precompiled binaries are available in the [release](https://github.com/aler9/rts
#### Publisher authentication #### Publisher authentication
1. Start the server and set a username and a password 1. Start the server and set a username and a password:
``` ```
./rtsp-simple-server --publish-user=admin --publish-pass=mypassword ./rtsp-simple-server --publish-user=admin --publish-pass=mypassword
``` ```
2. Only publishers which know both username and password will be able to publish: 2. Only publishers that know both username and password will be able to publish:
``` ```
ffmpeg -re -stream_loop -1 -i file.ts -c copy -f rtsp rtsp://admin:mypassword@localhost:8554/mystream ffmpeg -re -stream_loop -1 -i file.ts -c copy -f rtsp rtsp://admin:mypassword@localhost:8554/mystream
``` ```