Skip to content

End transcription when microphone capture fails to restart - #59

Merged
rudrankriyam merged 2 commits into
mainfrom
fix/microphone-route-restart-failure
Nov 28, 2026
Merged

rudrankriyam merged 2 commits into
mainfrom
fix/microphone-route-restart-failure

Conversation

@rudrankriyam

Copy link
Copy Markdown
Member

If the microphone fails to restart after an iOS route change or a macOS audio engine configuration change, the result stream now throws the restart error and the session returns to idle. Previously, the notification handler logged the failure and left the caller waiting for results from a stopped microphone.

The macOS regression forces a restart failure through the configuration handler. It timed out on 0b40a4d and now receives invalidAudioDataType.

Checks

  • swift build --jobs 2
  • swift test --jobs 2 (82 tests)
  • swiftlint lint --strict --no-cache
  • Aural demo builds for macOS and generic iOS Simulator with -jobs 2 and signing disabled

@rudrankriyam
rudrankriyam merged commit 4ebc781 into main Nov 28, 2026
2 checks 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