Yoirgl
9 years agoExpert Protege
Avatar networking issue 1.14
Is it possible to get updated documentation about packet recording and
playback ? i used to dismantle the packet to optimise size of what goes
trough my network
Is there a way i can still do this using the current system ? For example can i still retrieve the FinalFrame in any way possible and use it for avatar update on client side ?
the system in 1.14 makes my bandwidth usage go up 2000 % for pose updates (1Kb per pose instead of 50 bytes) :/
Thanks for any feedback.
Yoirgl.
playback ? i used to dismantle the packet to optimise size of what goes
trough my network
OvrAvatarPacket packet = args.Packet;
OvrAvatarDriver.PoseFrame frame = packet.FinalFrame;
using (MemoryStream newoutput = new MemoryStream())
{
BinaryWriter writerb = new BinaryWriter(newoutput);
writerb.Write(new TransportFrame(frame));
byte[] pose = newoutput.ToArray();
latestposition = pose;
}
TransportFrame in this example being a heavily lightweight class and i was doing position lerping on clients. Is there a way i can still do this using the current system ? For example can i still retrieve the FinalFrame in any way possible and use it for avatar update on client side ?
the system in 1.14 makes my bandwidth usage go up 2000 % for pose updates (1Kb per pose instead of 50 bytes) :/
Thanks for any feedback.
Yoirgl.