Repository navigation
Implement audio output routing and interruption handling for Deepgram - #22
Merged
Merged
Conversation
- 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.
…d permission changes
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.