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

Duration of the recording is missing #129

Open
vpanait opened this issue Aug 1, 2024 · 1 comment
Open

Duration of the recording is missing #129

vpanait opened this issue Aug 1, 2024 · 1 comment
Assignees

Comments

@vpanait
Copy link

vpanait commented Aug 1, 2024

Describe the bug
The duration on the blob: i look at the example, i press record, i press the save button. The audio element on the page does not have the total duration.
Is there a way to add that as a metadata or something similar so when you play the file you can actually use the audio player slider to navigate through the file?

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on Record
  3. Wait 20-30 sconds, click the save icon
  4. The audio is saved and an audio element is inserted on the page
  5. you click play
  6. you see the current play location (00:01) but you dont see the total length (00:01/00:30) and you cant use the slider to go to a certain place in the audio

Expected behavior
Be able to use the slider of the audio element

Screenshots
If applicable, add screenshots to help explain your problem.
image
How it should look like when the blob/webm/wav has duration meta:
https://www2.cs.uic.edu/~i101/SoundFiles/BabyElephantWalk60.wav

The metadata missing can be spotted looking at the file props:
image
VS
image

You can see the duration present in the second printscreen

Package info (please complete the following information):

  • Version 2.2.0

Additional context
Add any other context about the problem here.

@sankaSanjeeva
Copy link

sankaSanjeeva commented Aug 5, 2024

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

3 participants