mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 19:46:32 +08:00
feat(native): async recorder (#14700)
#### PR Dependency Tree * **PR #14700** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Durable, resumable import queue with explicit import lifecycle and updated popup/tray status behavior. * Async native recording APIs and ability to abort recordings; audio quality metrics (degraded, overflow count). * Added "Importing..." translation. * **Bug Fixes** * More reliable single-claim import processing, retries and cleanup to avoid duplicate imports. * Improved stop/abort teardown stability and safer shutdown behavior. * **Tests** * New/updated tests covering coordinator, import queue, native async flows and teardown scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -83,8 +83,9 @@ export class MeetingSettingsService extends Service {
|
||||
await this.desktopApiService?.handler.recording.getCurrentRecording();
|
||||
if (
|
||||
ongoingRecording &&
|
||||
ongoingRecording.status !== 'new' &&
|
||||
ongoingRecording.status !== 'ready'
|
||||
['starting', 'recording', 'finalizing'].includes(
|
||||
ongoingRecording.status
|
||||
)
|
||||
) {
|
||||
throw new Error('There is an ongoing recording, please stop it first');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user