refactor(stream): add asio session coordinator - #803
Draft
qiin2333 wants to merge 3 commits into
Draft
Conversation
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
qiin2333
force-pushed
the
agent/client-scoped-cancel
branch
from
July 13, 2026 10:35
8a17d50 to
97431aa
Compare
qiin2333
force-pushed
the
agent/asio-session-coordinator
branch
from
July 13, 2026 10:38
d7e67e8 to
fab26ad
Compare
qiin2333
force-pushed
the
agent/client-scoped-cancel
branch
from
July 15, 2026 02:52
97431aa to
6fbb5ef
Compare
qiin2333
force-pushed
the
agent/asio-session-coordinator
branch
from
July 15, 2026 02:54
fab26ad to
414fcf2
Compare
qiin2333
force-pushed
the
agent/asio-session-coordinator
branch
from
July 15, 2026 04:47
414fcf2 to
f217d86
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
依赖
mastermaster← fix(nvhttp): scope cancel to authenticated client #802 ← 本 PR改了啥呀
strand的活动会话协调器,所有生命周期观测在单写执行域内更新starting → active → draining → closed,迟到事件不能让最近关闭的会话复活/sessions增加lifecycle_state、协调器版本和拒绝事件计数,方便对照现有真实会话状态迁移边界
这层仍是影子协调器:它不拥有 socket、编码器或音视频线程,也不改变现有 timeout、
join()、应用终止和显示恢复时序。事件投递失败会被隔离,不能反向影响串流生命周期。控制面事件经过 strand;编码、采集、加密和媒体发包仍保持原来的并行数据面。验证
git diff --check-Werror编译参数检查stream.cpp、sessions.cpp、rtsp.cpp、session_coordinator.cpp和协调器测试