-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Labels
👁 need reproduction📱 iOSRelated to iOSRelated to iOS🙏 help wantedExtra attention is neededExtra attention is needed
Description
I have faced issue in recording audio. app starts recording but some time we face issue in recording app do not record audio but audio recording state shows app is recording but in actual in native no thread is running.
startRecorder = async (
uri?: string,
audioSets?: AudioSet,
meteringEnabled?: boolean,
): Promise => {
if (!this._isRecording) {
this._isRecording = true;
return RNAudioRecorderPlayer.startRecorder(
uri ?? 'DEFAULT',
audioSets,
meteringEnabled ?? false,
);
}
return 'Already recording';
};
I that code first time if hit button audio recording state update that value this._isRecording = true; with out checking wheter app is recording or not. I face issue app is not recording but state shows true
Metadata
Metadata
Assignees
Labels
👁 need reproduction📱 iOSRelated to iOSRelated to iOS🙏 help wantedExtra attention is neededExtra attention is needed