-
Notifications
You must be signed in to change notification settings - Fork 76
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
realtime_stream - 400 Client Error: Bad Request for url: <ip> #172
Comments
I inspected the connection attempt using Wireshark and discovered that it returns a |
I see the same problem. I'm using the current version of python-amcrest with up-to-date Amcrest firmware. The camera works fine with a web browser, vlc, and Amcrest View software. It doesn't work with python-amcrest. Note: I'm passing keyword args to camera.snapshot() to confirm to the current code which expects keyword arguments only.
|
I'm trying to stream a realtime recording from an Amcrest IP4M camera via Wifi. The camera connects just fine, and can be controlled and take snapshots. When I try to connect using realtime_stream, the HTTP API throws
400 Client Error: Bad Request for url: http://192.168.1.173:80/cgi-bin/realmonitor.cgi?action=getStream&channel=1&subtype=0
.I have tried changing the channel and sub-type accordingly, referencing the HTTP API Docs.
Minimal example:
Output:
Traceback:
The text was updated successfully, but these errors were encountered: