偶发单播(回看)连接僵死,无法断开
进行回看时偶尔发现有连接僵死的现象,无法通过手动断开连接。手动点击断开时debug日志如下: 09:20:05 INFO [Worker 0] New client 192.168.15.42:56890 requested URL: /status/api/disconnect (method: POST) 09:20:05 DEBUG [Worker 0] r2h-token validated (source: cookie) 09:20:05 DEBUG [Worker 0] Checking client slot 0: active=1, client_id=192.168.15.35:43644-worker0-seq60, to match=192.168.15.35:43644-worker0-seq60 09:20:25 INFO [Worker 0] New client 192.168.15.42:62829 requested URL: /status/api/disconnect (method: POST) 09:20:25 DEBUG [Worker 0] r2h-token validated (source: cookie) 09:20:25 DEBUG [Worker 0] Checking client slot 0: active=1, client_id=192.168.15.35:43644-worker0-seq60, to match=192.168.15.35:43644-worker0-seq60 09:24:40 INFO [Worker 0] New client 192.168.15.42:52410 requested URL: /status/api/disconnect (method: POST) 09:24:40 DEBUG [Worker 0] r2h-token validated (source: cookie) 09:24:40 DEBUG [Worker 0] Checking client slot 0: active=1, client_id=192.168.15.35:43644-worker0-seq60, to match=192.168.15.35:43644-worker0-seq60
测试环境: 版本: 3.11.0 docker部署
在用3.5.2版的时候出现过rtsp无法自动断开的情况,现在用3.11.0版暂时还没有遇到过。
尝试一下最新的 prelease 版本 v3.12.0-alpha.1,这个版本增加了对 RTSP Teardown 超时处理,看看是否能解决问题