Browser

Question

Audio Stream Times Out

By c319chris ·
Tags: Browser
Here is a weird phenomenon I've encountered and don't have an explanation for.

I am running an icecast stream with Daniel's excellent program, BUTT. OS is Windows 10.

If I play my stream using a web browser (http://localhost:8000/stream), the audio plays just fine, but times out after about 2.5 hours of play. The audio is still streaming because I can manually restart playback just by refreshing the browser. I have tried Chrome and Microsoft Edge and they both quit after a couple of hours.

I tried making an HTML5 web page which links to my stream — same thing. About 2.5 hours of uptime is all you get.

I have streamed on-line radio stations which bring up a built-in player and they play for hours and hours and do not time out. It's only when I play my icecast stream that it times out.

I don't know anything about these online players the radio stations use. They may be a creation of the streaming service Triton.

I have tried playing my local stream with Foobar 2000 and have gotten over 48 hours of uptime.

I tried playing my audio stream in the Opera browser and sure enough, it stopped after 2:49:22, similar to the other two browsers I've tried.

BUTT says it is still streaming. When I click on the "play" arrow on the web page, the audio starts right back up, suggesting that the problem is with the player and not the outgoing stream.
Thread display: Collapse - | Expand +

All Answers

Collapse -

This sounds like.

by rproffitt Moderator In reply to Audio Stream Times Out

https://bugs.chromium.org/p/chromium/issues/detail?id=915228 which is NOT going to be fixed.

Read https://stackoverflow.com/questions/16981253/how-to-continuously-stream-audio-while-icecast-server-changes-streams and consider setting up with their idea about LiquidSoap. This is not an offer of more about this issue or tutorials.

In other words, it appears to be a known limitation which requires you to work around it.

Collapse -

FLAC or Opus, not mp3

by c319chris In reply to Audio Stream Times Out

The timeouts occur when I play a FLAC or Opus stream.

As an experiment, I tried playing an mp3 stream and so far have had 11 hours of play time, much longer than the others.

Weird.

Collapse -

FLAC and Opus Only

by c319chris In reply to Audio Stream Times Out

The problem occurs with FLAC and Opus streams, not mp3.

It occurs on Chrome, Edge and Opera browsers which are all based on Chromium.

A Chromium bug report has been submitted.

Related Discussions

Related Forums