You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my DVR, the first hit (/StreamingSetting?version=1.0...) was a 200 OK with a stream, although the stream itself was dummy and not actually displaying the camera feed, only the current time and date. It took me a while to figure out if I remove this hit from the routes file, I hit (avn=2) which gives me exactly the camera feed I want.
I feel it would be nice if cameradar kept searching through all streams and display all hits at the end of the search; or pause when a hit is found, display it to the user and ask the user if they want to keep searching.
The text was updated successfully, but these errors were encountered:
This issue is similar to #263, I'll try to solve both issues together in the next versions by making cameradar continue to try paths even when it finds them.
I am worried about one thing however, which is that some cameras will answer 200 OK to / because they serve the stream directly on the root path, but also will answer 200 OK to everything else, so I should probably implement some kind of protection to avoid having 150 routes displayed for a camera that has this behavior.
In that case - you can probably attempt to request a stream which would obviously 404, like a random string of letters for the URL. If it answers 200 OK, a warning would be nice. Thanks!
Done :) I will be releasing this version in the next few days, I just need to do some testing since I introduced some breaking changes, and I'll open a PR that fixes this issue 👍 Thanks again for the suggestion!
For my DVR, the first hit (
/StreamingSetting?version=1.0
...) was a 200 OK with a stream, although the stream itself was dummy and not actually displaying the camera feed, only the current time and date. It took me a while to figure out if I remove this hit from the routes file, I hit (avn=2
) which gives me exactly the camera feed I want.I feel it would be nice if cameradar kept searching through all streams and display all hits at the end of the search; or pause when a hit is found, display it to the user and ask the user if they want to keep searching.
The text was updated successfully, but these errors were encountered: