Page 1 of 1

P2P broadcast package size watchdog when also connected to crtp

Posted: Wed Oct 28, 2020 5:24 pm
by Kaiser1401
Hi,

I implemented some P2P swarm protocoll and realised after quite a while that when I use a data size of P2P_MAX_DATA_SIZE (60), the propability of the watchdog kicking in is quite high. Especially when als connectetd to the client via crtp-radio.

Everything works fine now if I lower the data size in the P2PPacket to maximum 57 bytes.

I am not quite sure what causes it, and it is not completely deterministic. Maybe someone else has more insight.
Until then, this is for the people who might run into the same trouble.

-Klaus

Re: P2P broadcast package size watchdog when also connected to crtp

Posted: Fri Oct 30, 2020 8:44 am
by kimberly
Hi!

Thanks for letting us know. We haven't seen this ourselves back then but maybe some recent changes to the firmware has affected this somehow. I will create an issue on github repo to make people aware there and to remind us to investigate this.