-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Webcam] Add an option to embed a webcam stream using iframe #1396
Comments
PoC 2023-05-21.14-31-53.mp4 |
i dont think that iframe is a good integration for that. pls checkout the last PRs about webcam clients. |
To whoever interested in a workaround:
Also, in your go2rtc.yaml configuration add the following setting to allow CORS policy: api:
origin: "*"
Don't forget to update
PoC: 2023-05-21.17-39-36.mp4 |
@scmanjarrez this works so much better than all the WebRTC options that are in mainsail at the moment for go2rtc |
Requested feature:
Add a new option in the webcam settings to create an iframe which just loads a URL with the streaming, shifting the cpu usage to the web browser instead of the mainsail host.
Solves the following problem:
I've been tinkering with go2rtc and achieved a no-delay stream (http://192.168.1.38:1984/stream.html?src=yicam), however when I try to add the stream to mainsail, the only options are mjpeg or ipcam which add around 5-15s of delay (using mp4 in go2rtc, webrtc don't work, and ipcam adds delay as well).
Additional information:
No response
The text was updated successfully, but these errors were encountered: