[Icecast] Use endpoint to activate fallback-override
Isaac Ezeh
dynamiteezeh at gmail.com
Wed Oct 27 04:51:45 UTC 2021
Hi Philip,
Thank you so much for your swift response.
I am creating the issue on GitLab as we speak.
I also have another very pertinent issue.
I want to serve my icecast server over https, but I am
unfortunately finding it super difficult.
I have tried to scrape the internet for solutions, all to no avail.
I was able to set up https at a point but the challenge I then face is that
when I start streaming into a mountpoint, it automatically stops after
40secs for all streams.
I also want to note that I am using LetsEncrypt for my https and also using
NGINX for the reverse proxy so that I can setup a custom domain rather than
a bare IP-Address
Kindly find below the configuration of my NGINX server block
server {
listen 80;
server_name stream.mydomain.com www.stream.mydomain.com;
location / {
proxy_pass http://localhost:8000;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
location ~ /\.ht {
deny all;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/
www.stream.mydomain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/
www.stream.mydomain.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
P.S I did not make any change to my icecast.xml file with respect to ssl,
just the default configuration it takes to set up an icecast server. This
configuration works pretty well when I disable *NGINX* and *ufw*, but the
issue described above crops up when I want to serve icecast over https (i.e
enable NGINX and ufw).
On Tue, Oct 26, 2021 at 11:13 AM Philipp Schafft <
phschafft at de.loewenfelsen.net> wrote:
> Good morning,
>
> On Mon, 2021-10-25 at 19:44 +0100, Isaac Ezeh wrote:
> > Hi,
> >
> > I would like to activate fallback-override via an endpoint
> >
> > For example, according to the documentation
> > To set up the fallback mountpoint of a mount I use this endpoint
> > /admin/fallbacks?mount=/stream.ogg&fallback=/fallback.ogg
> >
> > Is it possible to also have an endpoint to set up the fallback
> > override?
> > Like this;
> > /admin/fallbacks?mount=/stream.ogg&fallback-override=1
>
> thank you for your interest.
>
> At this point it is not possible. But:
>
> Generally I'm not sure if this kind of on-the-fly reconfiguration that
> is not backed by config change is the direction we want to go. If there
> is a specific usecase I'm surely interested in hearing about it as...
> this gives valuable input to exactly this decision.
>
> I would love to see a ticket about this. Do you want to open one?:
> https://gitlab.xiph.org/xiph/icecast-server
>
> Otherwise I would open one but I think if you open it you can include a
> bit more background story directly.
>
>
> With best regards,
>
> --
> Philipp Schafft (CEO/Geschäftsführer)
> Telephon: +49.3535 490 17 92
>
> Löwenfelsen UG (haftungsbeschränkt) Registration number:
> Bickinger Straße 21 HRB 12308 CB
> 04916 Herzberg (Elster) VATIN/USt-ID:
> Germany DE305133015
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>
--
Regards,
Isaac Ezeh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20211027/99098a07/attachment.htm>
More information about the Icecast
mailing list