eroji / rtsp2mjpg

RTSP to MJPEG stream conversion using FFmpeg and FFserver
99 stars 41 forks source link

Support for SSL #20

Closed omsiqveland closed 3 years ago

omsiqveland commented 3 years ago

Any chance you could add support for SSL to this container, such that the mjpeg stream is output on a secure https:// url?

I want to integrate a camera stream in my other webpage which is hosted on a secure server (https). When trying to access content from unencrypted sources Chrome flags my page as unsecure and gives me a warning. Hence, it would be great if the video could be output on a https url.

eroji commented 3 years ago

You can do this with nginx reverse proxy and configuring SSL certificate. This is not handled by the ffserver used to serve the video stream. There are plenty of guides online on how to configure nginx.