[Icecast] Playing a recorded mp3 file like a livestream

Chip chiapas at aktivix.org
Thu Nov 26 10:03:34 UTC 2020


>
> Most notable in your config
>   <max-listener-duration>36000</max-listener-duration>
> could be the reason why the player reconnects every 60 minutes.
>

36000 is 10 hours, unfortunately.

Chip Scooter

On Thu, 26 Nov 2020 at 09:18, Leif Scriba <leif at scriba-bb.de> wrote:

> Hi,
>
> 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
>   <max-listener-duration>36000</max-listener-duration>
> could be the reason why the player reconnects every 60 minutes.
>
> From: https://icecast.org/docs/icecast-2.4.1/config-file.html
> "An optional value which will set the length of time a listener will stay
> connected to the stream.
> An auth component may override this.“
>
>
>
> Grüße
> Leif
>
>
> > Am 26.11.2020 um 06:54 schrieb ak18 at 5x9.de:
> >
> > Hello,
> >
> > 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:
> >
> > <mount>
> >     <mount-name>/LiveStream1.mp3</mount-name>
> >     <max-listeners>1000</max-listeners>
> >     <max-listener-duration>36000</max-listener-duration>
> >     <burst-size>122880</burst-size>
> >     <mp3-metadata-interval>61440</mp3-metadata-interval>
> >     <no-yp>1</no-yp>
> >     <fallback-mount>/Recorded.mp3</fallback-mount>
> >     <fallback-override>1</fallback-override>
> > </mount>
> >
> > 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
> > http://lists.xiph.org/mailman/listinfo/icecast
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20201126/db468577/attachment.html>


More information about the Icecast mailing list