Commit 4ae0adb
fix(reconnect): ignore server connectionTimeout when no tracks are published
After unpublishAll(), the publisher transport idles and the server
sends LeaveRequest(resume, connectionTimeout). Previously this
triggered a needless quick reconnect cycle via the websocket path.
Skip the signal cleanup when hasPublished is false and the reason is
connectionTimeout, keeping the signal connection alive so re-publishing
can proceed without disruption.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c008673 commit 4ae0adb
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
0 commit comments