I'm developing a game where players positions are sent many times per second. I've found that these positions are always being received in order.
This means that if at time t=1 a position p1 is sent, and at t=2 position p2 is sent, p2 might be received at t=3, but it is ignored until p1 is received, nomatter how late this is. This causes unneccessary lag waiting for old, redundant messages.
I've tried setting NetStream.dataReliable to false, and it doesn't seem to make a difference.
I'd still like it to be reliable that data is always received, but it doesn't have to arrive in order. Is this possible?
at this time it does not appear possible to set the receive order for NetStream.send messages to "network arrival order". an inspection of the Flash source code indicates that network arrival order is only set for H.264 video and Speex or G.711 audio.
Hey Michael, thanks a lot for your reply, and for the time you take to answer everyone's questions on this forum.
Do you know if there are any plans in the future to make it possible to set the receive order to be the network arrival order?
It would be a shame if there aren't, it causes quite a lot of unneccesary lag in-game.