iizukanao / picam-streamer

Out-of-the-box SD card image for live streaming with Raspberry Pi
MIT License
62 stars 6 forks source link

Can RTMP stream be password protected #47

Open rajeshkrarora1 opened 2 years ago

rajeshkrarora1 commented 2 years ago

Hi iizukanao, I wanted to know if the RTMP stream be password protected, and also is it possible to add stream.key instead of /live/picam in RTMP

iizukanao commented 2 years ago

As for "password protected", do you want a Basic HTTP authentication? Also, regarding "stream.key", does it mean you would like to use a URL of your choice instead of the fixed one?

rajeshkrarora1 commented 2 years ago

Hi, iizukanao, I use ngrok tcp forwarding for the RTMP stream to watch it on VLC, i have seen some camera RTSP streams which are username:password protected while watching on VLC, .

If some thing similar can be implemented on the RTMP stream from Picam , because RTMP stream from Picam is consistent. As we use Encrypted Key on youtube, if some thing similar can be used while watching on VLC, from security point of view.

Yes if it is possible to have url of my choiceπŸ™πŸ™πŸ™πŸ™

On Mon, Aug 9, 2021 at 8:50 PM Nao Iizuka @.***> wrote:

As for "password protected", do you want a Basic HTTP authentication? Also, regarding "stream.key", does it mean you would like to use a URL of your choice instead of the fixed one?

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iizukanao/picam-streamer/issues/47#issuecomment-895314017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFDX6UQJN2MPH5A7EP7T4TT37W25ANCNFSM5BZNCCMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

iizukanao commented 2 years ago

Unfortunately, that is not supported in picam-streamer at this time. As an alternative, you can secure your pi by setting up a firewall using ufw so that only some source IP addresses are allowed to access the stream.

rajeshkrarora1 commented 2 years ago

Thankyou for your prompt ReplyπŸ™πŸ™πŸ™πŸ™