Open LeoWelter opened 1 month ago
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/?
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/?