Skip to content

fix(session): 控制连接断开后自动停播#5

Merged
ByteColtX merged 1 commit into
mainfrom
codex/fix-keepalive-stop-playback
May 11, 2026
Merged

fix(session): 控制连接断开后自动停播#5
ByteColtX merged 1 commit into
mainfrom
codex/fix-keepalive-stop-playback

Conversation

@ByteColtX
Copy link
Copy Markdown
Owner

Summary

  • propagate RTSP keepalive failures from the control connection into PlaybackSession
  • stop capture automatically in the CLI and tray polling loops when the control channel drops
  • add a regression test that simulates a keepalive failure and verifies the session surfaces it

Testing

  • cargo fmt --check
  • cargo test
  • cargo clippy --workspace --all-targets -- -D warnings

将 RTSP keepalive 失败回传到 PlaybackSession,并让 CLI 与 tray 在主循环中轮询后自动停播并回传错误。
@ByteColtX ByteColtX merged commit 85656c7 into main May 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant