LargePacketBatchSize
Namespace: SynicSugar.P2P
Class: p2pConfig
public int LargePacketBatchSize
This is used like p2pConfig.Instance.XXX().
Description
The number of packets to be sent of a large packet in a frame. Wait for a frame after a set.
The sending buffer is probably around 64 KB, so it should not exceed this. If we set 0 from the script, it will cause crash.
Can set this value on UnityEditor.
using SynicSugar.P2P;
public class p2pConfigManager {
void Setp2pConfig(){
p2pConfig.Instance.LargePacketBatchSize = 5;
}
}