Skip to content

AudioRecorder Not Enabling Microphone #842

@callmearta

Description

@callmearta

Description

Hi thanks for the great package. We've become aware of a scenario where no matter how many times and places we call the AudioManager.setAudioOptions, still sometimes the microphone does not activate. I mean, we start recording but the microphone indicator on iPhone doesn't turn on indicating that it's recording. So we get an empty audio in return after stopping the recording.

This happens when we have a screen where the recorder is and a button somewhere that navigates to another page, when you come back from that page, the recorder no longer works and fails everytime and returns an empty audio buffer.

Steps to reproduce

  1. Create a screen with a button to record in it, create a button that navigates to another screen.
  2. Start recording and then stop recording. Press the button that navigates to a new page.
  3. Go back from the new page to the recorder page.
  4. Starting recording doesn't activate microphone.

Snack or a link to a repository

React Native Audio API version

0.10.3

React Native version

0.79.1

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions