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

Issue with Playing Paused Audio Recording Using react-native-track-player #643

Open
vargheshpanadem opened this issue Dec 3, 2024 · 0 comments

Comments

@vargheshpanadem
Copy link

vargheshpanadem commented Dec 3, 2024

Version of react-native-audio-recorder-player
[3.6.12]

Version of React Native
[0.71.2]

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

Expected behavior
When the recording is paused, I should be able to play the currently recorded audio using react-native-track-player.

Actual behavior
While the recording is paused, attempting to play the audio via react-native-track-player returns a duration of 0 and does not play. However, after resuming the recording and stopping it, playback works correctly.

Steps to reproduce the behavior

  1. Start recording audio using react-native-audio-recorder-player.
  2. Pause the recording.
  3. Attempt to play the partially recorded audio using react-native-track-player.
  4. Observe that the duration is 0, and playback does not occur.
  5. Resume the recording, stop it, and attempt playback again to confirm it works properly after stopping the recording.

@hyochan

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