[Icecast] Pre-roll playing every time user disconnects and connects
yahav.shasha at gmail.com
Sat Nov 21 11:24:33 UTC 2020
Youve over-complicated my suggestion.
No need to have icecast handle this mechanism, simply have the required
logic at the front-end - the actual player.
As for unique listeners detection and flapping ips as Jack mentioned, this
can be solved by some sort of tokenization mechanism based on local storage
בתאריך שבת, 21 בנוב׳ 2020, 02:36, מאת Geoff Shang <geoff at quitelikely.com>:
> On Fri, 20 Nov 2020, Yahav Shasha wrote:
> > You could simply serve your pre roll at the client side, eg, your player.
> > This way you can detect the mentioned situation and decide whether or not
> > to serve the pre roll.
> The trick here is to find a way of serving the preroll without everyone
> hearing it.
> I guess you could use some on connect logic to determine if it should be
> played, fire up a command line streamer which would stream it to its own
> mount point which is set to fall back to the main stream, then move the
> listener to that mount. They would hear the preroll then drop back to the
> main stream when the streamer exits and drops off.
> And of course there's the whole logic of when and when not to stream the
> Icecast mailing list
> Icecast at xiph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Icecast