Skip to main content

Notice

If you are using a Hotmail or Outlook email address, please change it now, as Microsoft is rejecting all email from our service outright.
Topic: Browser Playback Timeout (Read 1050 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Browser Playback Timeout

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.

What gives?

Re: Browser Playback Timeout

Reply #1
I was going to suggest that there was a kill time setup for listeners on the icecast server, but sure that would have also applied for foobar2000 as well, so I don't have a clue of what it could be.

Re: Browser Playback Timeout

Reply #2
I checked the icecast.xml file. There are a couple of time limits but nothing that would cause a stream to halt after around 2.5 hours.

I could try running a different browser and see what happens.

(MINUTES LATER)

I'm playing the audio stream on the Opera browser now. Let's see how long it plays.



Re: Browser Playback Timeout

Reply #3
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.

Re: Browser Playback Timeout

Reply #4
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.

Re: Browser Playback Timeout

Reply #5
Mmmm.. now I realize that you actually tried the "same browser" (Microsoft Edge, Opera and Chrome are all now based on Chromium).
Could it be a bug in the <audio> HTML 5 tag implementation?  Affecting only some codecs.

Let's try with Mozilla. (I guess IE11 won't be able to, but you might try)

Re: Browser Playback Timeout

Reply #6
Playback quits after 2+ hours on FLAC and Opus streams when the stream is addressed directly within the browser: http://localhost:8000/stream. With or without HTML5, the audio plays for 2+ hours before the player pauses.

I didn't realize Chrome, Edge and Opera are all based on Chromium, so maybe that is where the bug is and it gives me a clue where to address a bug report. I will try Firefox later.

Re: Browser Playback Timeout

Reply #7
Firefox does not seem to have this timeout problem.

 
SimplePortal 1.0.0 RC1 © 2008-2021