hyochan / react-native-audio-recorder-player

react-native native module for audio recorder and player.
MIT License
709 stars 212 forks source link

Unable to hear the recorded audio #596

Open belt-basya opened 7 months ago

belt-basya commented 7 months ago

Please fill the template to help you out. Also, please try the Example project compare before submiting the issue when you have certain issue with your project setup.

Version of react-native-audio-recorder-player

3.6.4

Version of React Native

0.70.3

Platforms you faced the error (IOS or Android or both?)

Android(Android Studio emulator)

Expected behavior

Able to hear the recorded voice note from the recorder.

Actual behavior

After recording a voice note, when I click on play, it is not playing anything.

Steps to reproduce the behabior

Hello, everyone! I am attempting to run the example of this project. It builds without any errors, but after recording, it is not playing the audio back. I have not changed any code in the given example, and I am attaching the screencast for reference. I am new to this, so can anyone help me make it run? Thank you.

https://github.com/hyochan/react-native-audio-recorder-player/assets/62102591/e7bc4ce1-51eb-4994-ac09-20c03633f6e3

shawna-donnelly commented 5 months ago

I'm having the same issue. Did you ever figure out what was going on?

Iamfavur commented 4 months ago

@shawna-donnelly @belt-basya i was having the same issues but i later figured it was happening because audio player outside my component like this

import....

const audioRecorderPlayer = new AudioRecorderPlayer();

const App()=>{}