hikvision-client icon indicating copy to clipboard operation
hikvision-client copied to clipboard

binary data from events

Open LeoWelter opened this issue 8 months ago • 0 comments

is it possible to parse out the binary data in a steam event? It looks like multipart encoded data following the xml.

In your code you hint at having looked at it

https://github.com/MissiaL/hikvision-client/blob/6897444cabec18ea055d6696b74611813b0b3a5c/hikvisionapi/hikvisionapi.py#L259 https://github.com/MissiaL/hikvision-client/blob/6897444cabec18ea055d6696b74611813b0b3a5c/hikvisionapi/hikvisionapi.py#L260

Maybe using https://pypi.org/project/multipart-reader/?

LeoWelter avatar Jun 21 '24 22:06 LeoWelter