[Icecast] Playing a recorded mp3 file like a livestream
leif at scriba-bb.de
Thu Nov 26 09:13:34 UTC 2020
For question 3, I think there is ezstream (https://icecast.org/ezstream/) which can to an endless loop like you wish. All files should (actually must) be encoded in the format of your stream.
Also I would setup the mpuntpoints in a row:
- live mp with fallback to ezstream mp
- ezstream mp with fallback to static file
So if ezstream fails you deliver the static file.
Most notable in your config
could be the reason why the player reconnects every 60 minutes.
"An optional value which will set the length of time a listener will stay connected to the stream.
An auth component may override this.“
> Am 26.11.2020 um 06:54 schrieb ak18 at 5x9.de:
> in advance: You can also answer me in German.
> I know Icecast over 10 years very well. My problem is this and I am trying to describe it very short:
> If my Icecast stream/mount is offline, a recorded MP3 file should be played via the Icecast mount. The mount is configured as follows:
> That all works fine, but an HTML audioplayer is used on a homepage, which disconnects and reconnects after 60 minutes to that mount. Unfortunately, this cannot be changed in the HTML player, says the developer. So the MP3 playback starts over every 60 minutes with each reconnect. The user can hear only the first 60 minutes again and again.
> Question 1:
> Is it possible to setup the mount that it doesn't start the MP3 file from the beginning every time for each listener?
> Question 2:
> If not, can the mount configurated like this, that it plays the MP3 file as an endless livestream. When the user/player connect to the mount it doesn't play the recorded mp3 file from the beginning, but runs it in an endless loop.
> Question 3:
> If is not possible, is there a software for Windows that sends the MP3 directly on the server as a stream to an Icecast mount, in an endless loop, like a real livestream?
> I hope someone can help me. I already say thank you.
> Icecast mailing list
> Icecast at xiph.org
More information about the Icecast