P2P broadcast package size watchdog when also connected to crtp
Posted: Wed Oct 28, 2020 5:24 pm
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
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