Block a user
Fix: React to slow-frame congestion and keep remote audio recoverable
Fix: React to slow-frame congestion and keep remote audio recoverable
审查结论:建议合并 ✅
这个 PR 解决两个独立但同源的慢链路问题,设计思路正确,测试覆盖充分,注释质量很高。
整体评价
A. 吞吐判据窗口采样(ScreenSpyDlg + commands.h)
- 10 秒环形缓冲 +…
Fix: React to slow-frame congestion and keep remote audio recoverable
测试质量优秀
16 个新用例逐个覆盖了三道防误判门槛的每种假阳性现场(滚动停住、单帧突发、过期窗口),以及 1 秒退路的小帧下限和耗时归一。
特别欣赏 ShortBurstInOneSecondIsNotCongestion 这个用例…
Fix: React to slow-frame congestion and keep remote audio recoverable
非阻塞建议:CoCreateInstance 频率
IsCapturedDeviceStale 每 3 秒在空闲端点上创建一次 MMDeviceEnumerator 实例。虽然开销很小(只是 COM 对象,不涉及设备打开),但如果想优化可以考虑缓存…
Fix: React to slow-frame congestion and keep remote audio recoverable
非阻塞建议:volatile → std::atomic<DWORD>
volatile 在 C++ 标准里不保证跨线程可见性(那是 std::atomic 的职责)。在 MSVC/x86 上对对齐的 32 位 DWORD 读写实际是原子的,所以当前代码安全…
Fix: React to slow-frame congestion and keep remote audio recoverable
yuanyuanxiang
pushed to fix/slow-frame-congestion-audio-recovery at yuanyuanxiang/SimpleRemoter
2026-11-08 10:49:16 +00:00
yuanyuanxiang
created branch fix/slow-frame-congestion-audio-recovery in yuanyuanxiang/SimpleRemoter
2026-11-08 10:49:16 +00:00