[Icecast] Streaming SSL / HTTPS with m3u file

Marvin Scholz epirat07 at gmail.com
Mon Jul 20 10:36:19 UTC 2020

On 20 Jul 2020, at 1:12, Damian wrote:

> I solved the issue by adding my own m3u files to 
> /usr/share/icecast/web but I am not sure if this is icecast 
> best-practice. This also raises a few other issues as well… http 
> stream links don’t appear on the icecast stream directory and stream 
> titles and track metadata does not display when opening m3u files 
> created in this way.

Which player did you try this with?

> I assume that there are various reasons for this…mainly that https 
> connections are not really meant to be opened via m3u files, but 
> instead should be opened directly in the browser. Hoping to get some 
> confirmation on these suspicions.
>> On 18 Jul 2020, at 19:30, Damian <db76 at riseup.net> wrote:
>> Hi,
>> I installed icecast2 on Debian 10 via backports for buster so that I 
>> could get ssl support.
>> I’ve successfully configured iceacst to stream via ssl within the 
>> browser. No problems there.
>> For instance I can successfully open a https link to the stream with 
>> a URL like https://domain-name.net:8433/mountname 
>> <https://domain-name.net:8433/mountname>
>> However, the same URL with .m3u at the end fails
>> The issue seems to be similar to this thread ... 
>> https://gitlab.xiph.org/xiph/icecast-server/-/issues/2323 
>> <https://gitlab.xiph.org/xiph/icecast-server/-/issues/2323>
>> When trying to open m3u or xspf stream links via the icecast 
>> status.xsl page, it gives errors. Hovering over the m3u or xspf 
>> stream links shows a https URL, but when opening the file in a 
>> client, it tries to play a http stream and fails. The actual contents 
>> of the file shows a http link to the stream rather than a https link. 
>> Seems to be something internal to icecast.
>> The icecast.xsl config is set up for ssl as follows:
>>    <hostname>IP address or domain HERE</hostname>
>>     <!-- You may have multiple <listen-socket> elements-->
>>     <listen-socket>
>>         <port>8000</port>
>>         <bind-address></bind-address>
>>         <!-- <shoutcast-mount>/stream</shoutcast-mount> -->
>>     </listen-socket>
>>     <listen-socket>
>>         <port>8443</port>
>>         <ssl>1</ssl>
>>     </listen-socket>
>> Can you confirm whether the issue in the thread above has been 
>> resolved? … and is there something else I need to do in the config 
>> to avert this problem?
>> Cheers
>> Damian
>> _______________________________________________
>> 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

More information about the Icecast mailing list