Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtime Transcription Stopping early in ^0.4.0-rc.10 #276

Open
kislay99 opened this issue Jan 18, 2025 · 1 comment
Open

Realtime Transcription Stopping early in ^0.4.0-rc.10 #276

kislay99 opened this issue Jan 18, 2025 · 1 comment

Comments

@kislay99
Copy link

Realtime transcription for me works perfectly on Android and IOS in the released version 0.3.9. But when I use the pre release, the stop is happening earlier than expected. I'm using the identical configuration to the one mentioned in the example and in both the cases.

Here is what I'm using

const { stop, subscribe } = await whisperContext.transcribeRealtime({
        maxLen: 1,
        language: 'en',
        realtimeAudioSec: 60,
        realtimeAudioSliceSec: 25,
        audioSessionOnStartIos: {
          category: AudioSessionIos.Category.PlayAndRecord,
          options: [AudioSessionIos.CategoryOption.MixWithOthers, AudioSessionIos.CategoryOption.AllowBluetooth],
          mode: AudioSessionIos.Mode.Default,
        },
        audioSessionOnStopIos: 'restore',
      });
@kislay99
Copy link
Author

Essentially, is there a parameter I can tweak such that, it processes the audio for longer. Because If I wait for a few sec, It auto corrects.

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

No branches or pull requests

1 participant