Describe the bug
Since 6fd66db896b30def12633a9fda403c2baefea698 the motion events are not working anymore.
I think the handling of the "ignore" start of the stream is not correct (at least for my setup).
The message I see in the console is
preparing event listener http://REDACTED/cgi-bin/eventManager.cgi?action=attach&codes=[All] expected boundary but found HTTP/1.1 200 OK listen loop closed, restarting listener.
So the HTTP header is leading to be an unexpected value and the stream is destroyed because of the exception is thrown.
To Reproduce
Install Dahua camera
Add the Amcrest plugin in Scrypted
Add device with the correct configuration
Try to trigger motion event
Expected behavior
Motion is detected correctly.
Actual behavior
Motion isn't detected.
Server:
OS: HaOS
Installation Method: Home Assistant addon
Hardware Model:
Device: e.g. Dahua IPC-HFW1320S-W
Additional context
Add any other context about the problem here.
Describe the bug Since 6fd66db896b30def12633a9fda403c2baefea698 the motion events are not working anymore. I think the handling of the "ignore" start of the stream is not correct (at least for my setup). The message I see in the console is
preparing event listener http://REDACTED/cgi-bin/eventManager.cgi?action=attach&codes=[All] expected boundary but found HTTP/1.1 200 OK listen loop closed, restarting listener.
So the HTTP header is leading to be an unexpected value and the stream is destroyed because of the exception is thrown.To Reproduce
Expected behavior Motion is detected correctly.
Actual behavior Motion isn't detected.
Server:
Hardware Model:
Additional context Add any other context about the problem here.