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

How to switch streams? #239

Open
i1group opened this issue Jan 30, 2019 · 2 comments
Open

How to switch streams? #239

i1group opened this issue Jan 30, 2019 · 2 comments

Comments

@i1group
Copy link

i1group commented Jan 30, 2019

I have internet radiostation and 2 streams: 96k and 320k.
How can I make soundmanager to switch stream (without recreating it)?

@i1group
Copy link
Author

i1group commented Feb 20, 2019

Hey developers, is anybody here?

@scottschiller
Copy link
Owner

@i1group Sorry I didn't get to this sooner. It is not possible to switch seamlessly between streams, because you are pointing a single HTML5 Audio() instance at a fixed URL.

To do something more dynamic with bitrate etc., I think you'll need something fancier than just the standard HTML5 audio API. This goes beyond the scope of SM2, and is not something I can advise on.

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

2 participants