Browse Source

fix readme

pull/3/head
aler9 5 years ago committed by GitHub
parent
commit
26f57e02df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md

4
README.md

@ -47,12 +47,12 @@ Precompiled binaries are available in the [release](https://github.com/aler9/rts @@ -47,12 +47,12 @@ Precompiled binaries are available in the [release](https://github.com/aler9/rts
#### 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
```
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
```

Loading…
Cancel
Save