2026/04/02 21:21:45
2026/04/02 13:21:45 [Relay] 读取消息错误: Room=FULS6T, Role=receiver, err=websocket: close 1006 (abnormal closure): unexpected EOF
2026/04/02 21:21:45
2026/04/02 13:21:45 [Relay] ■ 消息转发结束: Room=FULS6T, Role=receiver, 持续=6m38s, 文本消息=0(0 B), 二进制消息=0(0 B)
2026/04/02 21:21:45
2026/04/02 13:21:45 [Relay] 客户端断开中继: ID=webrtc_client_7083406745194855676, Room=FULS6T
2026/04/02 21:21:45
2026/04/02 13:21:45 "GET http://domain,com/api/ws/relay?code=FULS6T&role=receiver HTTP/1.1" from 172.22.0.1:34478 - 000 0B in 6m37.880462109s
2026/04/02 21:21:46
2026/04/02 13:21:46 读取WebRTC WebSocket消息失败: websocket: close 1006 (abnormal closure): unexpected EOF
2026/04/02 21:21:46
2026/04/02 13:21:46 WebRTC客户端断开连接: webrtc_client_673512273700148126 (房间: FULS6T)
2026/04/02 21:21:46
2026/04/02 13:21:46 已通知发送方: 对方已断开连接
问题描述
edge手机浏览器加入房间后,切换到微信去,再切换回来,链接就失败了。

部署环境
Docker 部署
环境详细信息
复现步骤
测试了不同的链接方式:
只要切后台就会导致链接断开。
相关日志
截图或录屏
No response
其他信息
希望可以只有点击重新开始才会触发新建房间,刷新网页只会触发重新建立ws链接或者建立中继链接。