-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Support RTSP 1.0 RFC #272
Comments
Hi @saschwan ! Thanks for reporting this issue. From the logs, it seems like the problem stems from the fact that the server does not answer to RTSP DESCRIBE requests properly. The problem seems similar to #142 (comment) but I can't really confirm without testing it myself or getting similar info to what's in the mentioned issue. Some cameras use outdated or specific RTSP frameworks that do not properly or do not completely implement the RTSP RFC. VLC has lots of specific code to deal with pretty much all cases, but it's something that Cameradar can't reliably do unless it tries to actually access the RTSP streams, which would make it much more complex and much slower :/ Let me know if you want me to investigate further! |
Hey @Ullaakut Thanks a lot for the response and clarifications. I do understand the issue now with RTSP 2.0 being published as RFC. I have been using an ONVIF camera discovery tools to find the IP cameras which has been successful and reliable with tests on 10 different IP camera types, especially with the node library https://github.com/futomi/node-onvif. With a quick search, the Go library https://godoc.org/github.com/deepch/go-onvif#Device.GetStreamURI has similar methods. It could be interesting to implement such functionality into the tool to catch RTSP 1.0 devices (and even discover new stream routes). |
It's a good idea and definitely doable 👍 I'll switch this issue to a feature request for RTSP 1.0 support then if you don't mind? |
This new lib might help: https://github.com/bluenviron/gortsplib "RTSP 1.0 client and server library for the Go programming language" |
Context
Please select one:
ullaakut/cameradar
Please select one:
Environment
My operating system:
OS version: 10.15.7
OS architecture:
Issue
What was expected
I know the correct RTSP URL to the camera and the route exists in the route directory. Finds the corrects IP address and username/password combination for the IP camera but the RTSP URL cannot be found.
What happened
Using VLC, the URL 'rtsp://office:[email protected]:554/stream1' connects to the camera's stream and I can view it. However, when I run camaradar it cannot connect to the exact same RTSP although it clearly attempts to use the
/stream1
route to connect to it.Also, the suggested device model seems to be wrong. It's a Tapo C200 camera
Logs
The text was updated successfully, but these errors were encountered: