transportParams.maxDatagramFrameSize
此端点愿意接收的 DATAGRAM 帧有效负载的最大字节数。设置为 0 以禁用数据报支持。对等方不会发送超过此值的数据报。实际上可以发送的数据报的最大大小由对等方的 maxDatagramFrameSize 决定,而不是此端点的值。
🌐 The maximum size in bytes of a DATAGRAM frame payload that this endpoint
is willing to receive. Set to 0 to disable datagram support. The peer
will not send datagrams larger than this value. The actual maximum size of
a datagram that can be sent is determined by the peer's
maxDatagramFrameSize, not this endpoint's value.