Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Add optional authentication #9

Open
eznix86 opened this issue Dec 14, 2019 · 1 comment
Open

Add optional authentication #9

eznix86 opened this issue Dec 14, 2019 · 1 comment

Comments

@eznix86
Copy link

eznix86 commented Dec 14, 2019

I think something like this will do
https://smartshitter.com/musings/2017/12/nginx-rtmp-streaming-with-simple-authentication/
or this:
https://smartshitter.com/musings/2018/06/nginx-rtmp-streaming-with-slightly-improved-authentication/

@eznix86
Copy link
Author

eznix86 commented Dec 14, 2019

Like you did in the docker-compose.yml file, you add:

# This enable authentication on the rtmp.
# e.g rtmp://docker-broadcaster.com/stream?access_token=PWTAv&U)NmpzDZ1fm:+uT>r|"B3r!@
# e.g rtmp://docker-broadcaster.com/stream/live?access_token=PWTAv&U)NmpzDZ1fm:+uT>r|"B3r!@
ACCESS_TOKEN: "PWTAv&U)NmpzDZ1fm:+uT>r|"B3r!@"

If the access_token is null, there will be no authentication.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant