Skip to content

Refactor and enhance Deepgram integration with audio processing improvements - #17

Merged
itsRares merged 10 commits into
mainfrom
feature/fix-jsi-bug
Nov 12, 2025
Merged

itsRares merged 10 commits into
mainfrom
feature/fix-jsi-bug

Conversation

@itsRares

@itsRares itsRares commented Nov 12, 2025 •

Copy link
Copy Markdown
Owner

Refactor code structure for better readability and maintainability. Enhance Deepgram integration by updating to the latest SDK version, improving audio handling, and adding new features for transcription and error handling. Introduce an Expo config plugin for microphone permissions and update build scripts for easier setup. Fixes issue #16

…pling

- Refactored audio session management in Deepgram.mm to ensure proper activation and deactivation based on app state.
- Implemented a new downsampling mechanism in useDeepgramSpeechToText.ts and useDeepgramVoiceAgent.ts to handle varying sample rates more effectively.
- Added logging throughout the Deepgram module for better debugging and monitoring of audio processing.
- Cleaned up audio queue management to prevent memory leaks and ensure resources are released appropriately.
- Updated package.json to ensure compatibility with the latest dependencies.
- Updated DeepgramModule.kt to remove redundant logging and improve audio handling.
- Modified SpeechToText.tsx to include interim transcripts and improve live transcription updates.
- Enhanced Deepgram.mm with improved logging mechanisms for better debugging.
- Updated speech-to-text.ts to include a new DeepgramTranscriptEvent type for better event handling.
- Refactored useDeepgramSpeechToText.ts to manage partial and final transcripts more effectively.
@itsRares itsRares added the bug Something isn't working label Nov 12, 2025
@itsRares
itsRares merged commit 1ad719e into main Nov 12, 2025
3 checks passed
@itsRares
itsRares deleted the feature/fix-jsi-bug branch November 28, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant