Skip to content

Implement audio output routing and interruption handling for Deepgram - #22

Merged
itsRares merged 3 commits into
mainfrom
feature/2.3.0
Jul 8, 2026
Merged

itsRares merged 3 commits into
mainfrom
feature/2.3.0

Conversation

@itsRares

@itsRares itsRares commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Introduce audio output routing capabilities and interruption handling in the Deepgram SDK. Enhance audio session management for various devices and improve voice processing during interruptions. Update the changelog for version 2.3.0 to reflect these changes. Add a privacy manifest for iOS to clarify data usage and permissions.

itsRares added 3 commits July 6, 2026 15:49
- Added methods to handle audio route changes, including `setAudioRoute` and `getAudioRoute`.
- Introduced event emission for route changes to JavaScript with `DeepgramRouteChange`.
- Enhanced audio session configuration to support Bluetooth, speaker, and earpiece routes.
- Implemented route management in both iOS and Android platforms, ensuring compatibility with various audio devices.
- Added tests for audio route functionality to ensure reliability and correctness.
…nagement

- Implemented audio interruption events to handle system interruptions (e.g., phone calls, Siri) in the Deepgram SDK.
- Added `addInterruptionListener` to allow users to subscribe to interruption events.
- Enhanced voice processing management by checking if voice processing is already enabled before re-enabling it, preventing unnecessary teardown of audio units.
- Updated the audio session activation logic to handle interruptions more gracefully, ensuring that sessions can be resumed after interruptions.
- Introduced new properties in the Deepgram plugin options for customizing Android foreground service notifications.
- Added tests for interruption handling in both the interruption module and the speech-to-text hook.
- Created a privacy manifest for the iOS SDK to clarify data usage and permissions.
@itsRares
itsRares merged commit 4db1c0a into main Jul 8, 2026
3 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