Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Feb 18, 2020
1 parent 2133737 commit 26f57e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 26f57e0

Please sign in to comment.