Zero sized messages are dropped
I’m currently working on integrating bevy_matchbox into Replicon.
During testing, we noticed that zero-sized packets sent on a channel are not delivered to peers. However, Replicon requires support for such packets.
Is there a way to allow zero-sized packets to be sent without being dropped?
Not what you were asking for, but you could always prepend and discard a single byte at the start of every package.
Not sure why they are dropped, perhaps it has something to do with how webrtc works. Is it the same problem on both native and web?
Appending and removing 1 byte is what I currently do for a workaround.
I haven't tested web just yet, only native.
If it works on web, then it can likely be considered a bug in webrtc-rs, and we should report it there.