mirror of
https://github.com/koush/scrypted.git
synced 2026-03-17 07:22:10 +00:00
Some Dahua/Amcrest NVRs (e.g., AMDV7208M) respond with HTTP/1.0 instead of HTTP/1.1. The event listener was only checking for 'HTTP/1.1 200 OK', causing it to throw 'expected boundary' errors and crash when receiving HTTP/1.0 responses. This fix adds support for both HTTP versions. Fixes motion detection not working on older Dahua OEM NVRs.