01-06-2016, 01:59 AM
The last 4 bytes out of the 20 are the length of the JSON payload, but I can't figure out the first 16. Some of them seem like flags or status, because they are the same across all packets, some seem like a sequence number, but then not really.
Here's a Wireshark packet dump for the curious: http://www.xoft.cz/dvr-packets/
Here's a Wireshark packet dump for the curious: http://www.xoft.cz/dvr-packets/