Waveform crashing when trying to load audio file from Amazon S3
See original GitHub issueWavesurfer.js version(s):
Waveform version: 4.2.0
Browser and operating system version(s):
Brave Browser on Ubuntu 20.04 LTS
Code needed to reproduce the issue:
same code as described in the documentation. (Please reduce your code as much as possible and only post the minimum code needed to reproduce the issue. A Code pen is an excellent way to share such code)
Use behaviour needed to reproduce the issue:
- Uisng wavesurfer.load(audioFileS3Url)
- working for 1st time when page reloads.
- when reloading page again, it’s not working this time. page is getting hung and crashing after around 10 seconds no idea why.
- I am not facing this issue when I am loading audio file from my current website path itself.
- Tried with both the backend options => ‘MediaElement’ and ‘WebAudio’
- I had to add
fetchRequest.headers["Access-Control-Allow-Origin"] = "*"
to get away with origin cross origin issue.
What might be the issue? Lemme know if more clear details or any other details need to be provided for debugging. Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
Resolve errors uploading data to or downloading data ... - AWS
I want to download data from Amazon Aurora and upload it to Amazon S3. How can I resolve an error I received while...
Read more >Waveform 11 OEM Crashes constantly - Tracktion Forum
The whole thing crashes when you try to eneable/disable the MIDI ports. ... In some cases, you put the "audio" in one track,...
Read more >Audio in the Browser: Horrors and Joys - Learning - Source
I'm trying to develop with audio files, and they are not playing correctly locally but work just fine on staging/production. What's the ...
Read more >FAQ 3 - Using Transcribe! - Seventh String Software
"Why can't I load the XSC file saved by Transcribe! into my sound file editing or playing software, or burn it to audio...
Read more >Amazon S3 and WavePlayer: the perfect configuration
If you want WavePlayer to have access to the audio files stored in your S3 bucket, you must list HEAD and GET as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah sure, will try and update you on this, thanks!
Get Outlook for Androidhttps://aka.ms/ghei36
From: Maria Zuccarà notifications@github.com Sent: Saturday, November 28, 2020 5:53:53 PM To: katspaugh/wavesurfer.js wavesurfer.js@noreply.github.com Cc: Iftekharuddin Mohammed farhan_mohammed98@outlook.com; Author author@noreply.github.com Subject: Re: [katspaugh/wavesurfer.js] Waveform crashing when trying to load audio file from Amazon S3 (#2105)
Can you try to pass the audio peaks (also fake), to try to understand if the problem is in the audio resource of in drawing the waveform?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/katspaugh/wavesurfer.js/issues/2105#issuecomment-735224943, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGH5CUK55E7CWHER26IPROTSSDTVTANCNFSM4TSHPVRA.
@techie-explorer
await fetch
any reason you are using this? Also have a look at this aws article regarding streaming and s3 files. https://aws.amazon.com/blogs/developer/streaming-amazon-s3-objects-from-a-web-server-2/