Skip to content

🐛 Fix recording state handling#322

Open
CyJaySong wants to merge 2 commits into
fluttercandies:mainfrom
CyJaySong:main
Open

🐛 Fix recording state handling#322
CyJaySong wants to merge 2 commits into
fluttercandies:mainfrom
CyJaySong:main

Conversation

@CyJaySong

Copy link
Copy Markdown
Member
  • 录制中生命周期变化不再重建控制器,避免下拉状态栏/控制中心后录制会话断掉,后续“再次开始后停止无响应”。
  • 停止录制流程改成了更稳的异步状态机:同一段录制只 stop 一次,stop 返回后只有页面和控制器仍然有效时才继续预览或导航。
  • 页面退出时会静默结束当前录制并释放控制器,同时清理生成的临时视频,避免脏会话和残留文件。
  • 新一轮录制开始前会先清掉旧的倒计时定时器,避免旧 timer 提前打断新录制。
  • 轻触录像模式下,录制中的按钮和进度条不再依赖点击按压态,平台取消点击态时也不会突然消失。
  • 预览文件删除条件修正成和注释一致:有自定义 onEntitySaving 时不自动删文件。

@CyJaySong CyJaySong requested a review from AlexV525 as a code owner April 29, 2026 07:57
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