iizukanao / node-rtsp-rtmp-server

RTSP/RTMP/HTTP hybrid server
MIT License
1.1k stars 282 forks source link

How to authorize streamer? #123

Open kovorotnii opened 5 years ago

kovorotnii commented 5 years ago

Good day @iizukanao. I would like to know if there any possibilities to authorize streamers using your server? For example: when we have run server, server is waiting for rtsp links. So if anyone wants to create stream, he will do it. Maybe using ffmpeg, like ffmpeg -i /dev/video0 -c:v libx264 -preset slow -c:a libfdk_aac -ab 128k -ar 44100 -f rtsp -rtsp_transport tcp rtsp://localhost:8082/live/webcam. So lots of people can create own streams using such a method and we can't to authorize them. How to allow for certain people using that server?
I will be grateful for any help you can provide.