You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2023. It is now read-only.
I applied this change to a local version of the plugin, where I used this to transcribe spoken audio recorded via cordova-plugin-media.
This change solved a problem for me, where audio playback volume was getting stuck at around 25% (I suspect earphone levels), after recording, and could not be adjusted.
I'm not familiar with the implications of this change in Objective-C but it appears to work on my end with no adverse side effects.
Repro scenario:
AirPods pro are paired but not connected (in case).
play audio,
volume is OK.
Initiate recording,
initiate transcription,
stop recording,
stop transcription,
audio is stuck at earphone levels
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I changed code (AVAudioSessionCategoryPlayAndRecord -> AVAudioSessionCategoryRecord) on 84line at SpeechRecognitoin.m.
[audioSession setCategory:AVAudioSessionCategoryRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:nil];
The text was updated successfully, but these errors were encountered: