Audio playing multiple streams over itself
See original GitHub issueI’ve built a small playlist-like setting similar to the example.
Here’s my click method on a list of tracks
const handleClick = track => {
setCurrent(track);
load({ src: track.url, autoplay: !playing });
};
Clicking around on the tracks mostly works - but then one will get “stuck” and you have to refresh to get it to stop.
I’m wrapping the entire thing in a single AudioPlayerProvider
so not dealing with multiple contexts or anything.
I tried adding a stop()
in there before load()
but same problem.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Can video have multiple streams (like it has 2 audio streams)
Yes. MPEG-4 Part 14 (the MP4 container format) supports any number of objects (e.g. video, audio and subtitle streams) and isn't limited to ......
Read more >Web Audio With Multiple Streams - javascript - Stack Overflow
This brings me to using the Web Audio API to try and manipulate the streams manually. For testing my current HTML is just...
Read more >Multiple Primary Streams which allow audio overlap
You can use something like Adobe Premiere or even Panopto itself (using another session with just audio as the primary and the singer...
Read more >How to Play Sound from 2 Apps at Once on Your Samsung ...
It's called SoundAssistant, and among other things, it makes multi-stream audio possible. So tap the following link from your Galaxy device, ...
Read more >Multistream is here! | Meetecho Blog
and the several changes on the multistream branch. ... data channel m-line via SDP anyway (you'd use multiple streams/labels over the same ...
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
Alright thanks that helps a lot! I’ll try to get to this some time this week. If you’re interested feel free to mess with the source code. I’m definitely open to contributors and pull requests!
I’m having this Issue with react-native-web and useAudioPlayer v. 1.2.4