<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">Yes, it is the first thing I have tried, but I have encountered this problem. If I enable option <option name="allow_duplicate_users" value="1"/>, it works fine. But if set to 0, to limit one connection per user, it does not work properly and forces you to manually enter the data again. It seems that there are players who make 2 requests, and being limited to 1, makes the message appear.<br><br>These are the tests performed with authentication enabled and "allow_duplicate_users = 0"<br><br>- If I try to
enter
the URL without the username and password inside, ask for authentication, and after entering the data, asks for it a second time and after enter the user and password again, plays the stream.<br><br>- If I try to
enter
the URL with the username and password inside, ask for authentication via pop-up only once (tested with VLC and Chrome), and plays.<br><br>These are the tests performed with authentication enabled and "allow_duplicate_users = 1"<br><br>- If I try to enter the URL without the username and password inside, ask for authentication once and plays.<br><br>- If I try to
enter
the URL with the username and password inside, it plays.<br><br>That is, it seems that some players generate more than 1 request, and being limited the connection of each user to a connection, prevents the direct play and asks for user and password one more time...<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El sáb., 14 sept. 2019 a las 21:46, Marvin Scholz (<<a href="mailto:epirat07@gmail.com" target="_blank">epirat07@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 14 Sep 2019, at 21:39, Mikel Sanz | 20 Comunicación wrote:<br>
<br>
> I would like to have a private signal, which can only be tuned by whoever<br>
> has the username and password, and know who is connected. But I wish the<br>
> URL could be delivered with the username and password, to open it directly<br>
> on a player or receiving device... Thanks.<br>
><br>
<br>
Then http://user:password@server:port/mountpoint is the way to go,<br>
which is supported by most players.<br>
<br>
><br>
> El sáb., 14 sept. 2019 a las 21:33, Marvin Scholz (<<a href="mailto:epirat07@gmail.com" target="_blank">epirat07@gmail.com</a>>)<br>
> escribió:<br>
><br>
>><br>
>><br>
>> On 14 Sep 2019, at 21:09, Mikel Sanz | 20 Comunicación wrote:<br>
>><br>
>>> Hi. I'm trying to set up a mountpoint with authentication<br>
>> type="htpasswd".<br>
>>><br>
>>> It's correctly set up, but I have problems to listen in some players. In<br>
>>> Winamp, I've tried this URL structure:<br>
>>> http://user:password@server:port/mountpoint.<br>
>>> But in VLC, with same structure, a window is opened requesting that data<br>
>>> every time.<br>
>><br>
>> This is a bug in VLC. Anyway you should avoid to put the username and<br>
>> password in the URL as thats a potential security issue.<br>
>><br>
>>><br>
>>> In HTML5 players, the same problem.<br>
>>><br>
>>> How can I play this audio stream with user and password in the URL?<br>
>><br>
>> What exactly is your usecase?<br>
>><br>
>>><br>
>>> Thanks!<br>
>>> _______________________________________________<br>
>>> Icecast mailing list<br>
>>> <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
>>> <a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
>> _______________________________________________<br>
>> Icecast mailing list<br>
>> <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
>> <a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
>><br>
> _______________________________________________<br>
> Icecast mailing list<br>
> <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
> <a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
</blockquote></div>