Closed swoga closed 1 month ago
Awesome! I'll get back to you during the weekend, you can start by adding a test that covers this situation
added a test!
I had to adapt an existing test, because the dummy value 0123456789ABCDEF
was used as data and therefore failed.
I replaced it with a "minimal RTP header" (zeros and only set the position of the RTP marker bit).
I will publish a release tonight
If you see more improvements don't hesitate to to contribute <3
Release is out, will you publish a PR for home assistant @swoga
Yes, I am happy to do it!
During my troubleshooting of #502 I noticed that the camera sends fragmented RTP packets, which are not handled correctly and trigger an exception. I don't know if this has only been happening since Axis OS 11.11 or if it has been happening for a while.
wireshark excerpt:
As one can see the packets with size 1442 have no marker bit set because they were fragmented, the remaining content is received immediately afterwards (see timestamp).
payload of packet no. 391:
payload of packet no. 392: