Re: CGI SDK no longer functioning on 17r?
Posted: Wed Jan 30, 2019 1:16 am
@jantman - I have a similar approach. I have a FreeBSD jail set up to reencode the RTSP stream to MJPEG using ffmpeg on demand, and then serve this through a Basic auth:ed nginx server. The RTSP stream can be taken from the main stream, thus allowing quality to prevail. Whenever the stream is requested, I trigger a time-boxed reencoding and access the reencoded stream via nginx. As the fetching of the RTSP stream manages the Digest authorization, I can use Basic auth to fetch the resources from a web page. Using XMLHttpRequest in Javascript to authorize the resource request, and then redirect an embedded Iframe to the resource. And don't forget to set the "Access-Control-Allow-Origin" header in nginx if remote domain site, and SSL for some kind of security. Works, but the lengths one has to go to.. 