-
Notifications
You must be signed in to change notification settings - Fork 9
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
Stream periodically stops at client after track ends #320
Comments
Hey, what are the contents of the |
|
Could you try to use another folder with just 2-3 mp3 files in it and see if the problem reproduces? And also, are there any helpful logs from the server/client? And also, which version are you using? I had similar issue but it was fixed in #34 |
this is happening to apple devices listening to my streams too. |
Wondering if this issue still exists, I'm too writing my own radio but in Go. I'm using ffmpeg for doing most of the heavy lifting like encoding, removing metadata (like idv3 tags etc). Occasionally, my client ( |
A hacky solution that I use is reconnect to stream when error occurs. // audio -> audio element
audio.onerror = function (err) {
console.error(err)
audio.setAttribute('src', '/stream')
audio.play().catch(console.error)
} |
I'm receiving this error and encountering the same issue.
This is on the server. |
This happens randomly between different tracks. After reloading page stream continues.
I see the same problem when using BASS: http://www.bass.radio42.com/help/html/322b7ddc-a9f5-21eb-c78a-f5937cd0d2f2.htm
Sometimes after page load the stream gives out the full length of the track instead of a per-second download:
And stops stream after finishing with the above error.
I even tried to export all the tracks to the same bitrate, but it didn't help.
It doesn't seem to be happening with your radio in the example. Maybe I'm setting something up wrong?
The text was updated successfully, but these errors were encountered: