Increase default ping timeout to 10 seconds
During periods of poor connectivity, the ping timeout of 2 seconds can easily be exceeded, especially with ENet's RTO backoff active. This causes an unnecessary disconnection when the connection would have recovered on its own in a few seconds. Increasing the timeout to 10 seconds should prevent spurious disconnections in most cases.
This commit is contained in:
parent
769c4c8f99
commit
388e4696ff
3 changed files with 3 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ video_t video {
|
|||
audio_t audio {};
|
||||
|
||||
stream_t stream {
|
||||
2s, // ping_timeout
|
||||
10s, // ping_timeout
|
||||
|
||||
APPS_JSON_PATH,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue