| View previous topic :: View next topic |
| Author |
Message |
bmcglynn
Joined: 18 Jun 2008 Posts: 3
|
Posted: Wed Aug 06, 2008 8:50 pm Post subject: Icecast HTTP Authentication for Windows Media |
|
|
Hi,
I would like to create an ASX file that authenticates Windows Media users against Icecast with a single click.
For iTunes and other players, I can create a URL like: http://username:password@10.0.0.5:8000/stream
When I try to send this URL with Windows Media player, the URL does not open and Windows Media Player gives me an error. This happens for File->Open URL and for embedding this in an ASX file.
What could work for me is to send the Username and Password in as parameters to the Icecast server in the initial request. For example, sending in http://10.0.0.5:8000/stream?username=user&password=pass
Basically, the above parameters would need to be sent back in the call to the HTTP Authentication script as the username and password variable.
<option name="listener_add" value="http://myauthserver.com/listener_joined.php"/>
Has anyone encountered this, or have a workaround?
Thanks.
Brian |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Aug 06, 2008 11:33 pm Post subject: |
|
|
you should find that the POST includes the query args as part of the mountpoint (encoded)
karl. |
|
| Back to top |
|
 |
bmcglynn
Joined: 18 Jun 2008 Posts: 3
|
Posted: Thu Aug 07, 2008 12:37 am Post subject: |
|
|
| Thanks. This will work perfectly. |
|
| Back to top |
|
 |
|