sessionOptions.maxDatagramSendAttempts
- 类型:<number>
- 默认:
5
SendPendingData 循环次数是数据报在未被发送之前可以存活的最大次数。一旦由于拥塞控制或数据包大小限制导致数据报无法发送,它将保持在队列中,并且尝试计数器会增加。一旦达到上限,数据报将被丢弃,并通过 ondatagramstatus 回调报告为 'abandoned'。有效范围:1 到 255。
🌐 The maximum number of SendPendingData cycles a datagram can survive
without being sent before it is abandoned. When a datagram cannot be
sent due to congestion control or packet size constraints, it remains
in the queue and the attempt counter increments. Once the limit is
reached, the datagram is dropped and reported as 'abandoned' via the
ondatagramstatus callback. Valid range: 1 to 255.