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

Buffer lenght #1265

Open
bforpc opened this issue Jul 31, 2024 · 2 comments
Open

Buffer lenght #1265

bforpc opened this issue Jul 31, 2024 · 2 comments

Comments

@bforpc
Copy link

bforpc commented Jul 31, 2024

Hi,

i would like to play an audio stream over the web and buffer ~30 seconds because of interrupts of the internet connection.
Can this be realised?

Best regards from Hamburg, Germany

Bfo

@dirkk0
Copy link

dirkk0 commented Jul 31, 2024

Hi Jan,

I would handle this problem outside of ToneJS similar to this guide:
https://developer.mozilla.org/en-US/docs/Web/Media/Audio_and_video_delivery/buffering_seeking_time_ranges

Cheers, Dirk from Köln

@bforpc
Copy link
Author

bforpc commented Aug 1, 2024

Hello Dirk,

thank you for your hint and the interesting code examples.
I had try the examples, but it is not quite that, what im looking for.

My wish is to buffer more time for the interrupted internet connection on mobile phone while playing an audio stream (radio).

Bfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants