浏览代码
Basic solution to that bug with the Relay disconnect not happening. This ensures that the disconnects will happen eventually, as the host stops pinging relay on disconnect and also clients will request disconnection from hosts immediately if possible. However, a few more issues to consider addressing: We could boot the host from the lobby manually if a relay disconnect is detected. A client could leave the lobby immediately if the host has left. We need to clean up properly so that the automatic disconnect can be done repeatedly.
/main/staging/relay_disconnect_ping_bug
Basic solution to that bug with the Relay disconnect not happening. This ensures that the disconnects will happen eventually, as the host stops pinging relay on disconnect and also clients will request disconnection from hosts immediately if possible. However, a few more issues to consider addressing: We could boot the host from the lobby manually if a relay disconnect is detected. A client could leave the lobby immediately if the host has left. We need to clean up properly so that the automatic disconnect can be done repeatedly.
/main/staging/relay_disconnect_ping_bug
nathaniel.buck@unity3d.com
3 年前
当前提交
8306b622
共有 3 个文件被更改,包括 30 次插入 和 6 次删除
-
15Assets/Scripts/Relay/RelayUtpClient.cs
-
19Assets/Scripts/Relay/RelayUtpHost.cs
-
2Assets/Scripts/Relay/RelayUtpSetup.cs
撰写
预览
正在加载...
取消
保存
Reference in new issue