-
Notifications
You must be signed in to change notification settings - Fork 150
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
live view doesn't work if no sub stream is configured #119
Comments
Good point. I added a note to the troubleshooting doc for the moment. Long-term, I want it to support both streams; there's a bullet point about this at #115. |
I'm calling this a JS bug in that the Javascript has all the information to know in advance that the It'd be nice if the server reported an error in a way the client Javascript could actually see—maybe accepting the WebSocket, sending a text message with an error, then closing it—rather than a HTTP status that the browser deliberately withholds from the Javascript. But given that the error is avoidable (ignoring silly edge cases like the server being reconfigured to take away the sub stream between the loading |
Live view does not work for cameras with no sub stream configured. The result is a black screen and the following error on FireFox
It's caused by this line:
moonfire-nvr/server/src/web.rs
Line 420 in 8465b49
Potential solutions could be:
I'm not sure if this is expected behavior, but it should at least be documented.
The text was updated successfully, but these errors were encountered: