Local Mode (MJPEG) but only in the Browser
Problem:
ScreenStream works perfectly in browser directly (http://172.20.10.2:8080) But not in embedded web applications (iframe/fetch) due to CORS blocking What we need:
CORS headers that the ScreenStream server must send:
Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET, HEAD, OPTIONS Access-Control-Allow-Headers: Content-Type, Range Access-Control-Expose-Headers: Content-Length, Content-Range, Content-Type Why this is important:
Modern web apps can only load external streams if the server allows CORS Without these headers, the browser blocks all requests from other domains This is a standard security feature of all modern browsers Feature Request:
"Please add an option in ScreenStream settings: 'Enable CORS' or 'Allow web embedding' that automatically sends these HTTP headers."
Technical Background:
The stream runs over HTTP, but web browsers block Cross-Origin requests without explicit permission from the server through CORS headers.
Thank You for the fast reply I am following the new release and hopefully the next version will have this sorted. I am sure a lot of people will benefit from it. I really like the work you did and hope to have this application in use for much longer.
Available in Release 4.2.4