Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast HTTP Authentication for Windows Media

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
bmcglynn



Joined: 18 Jun 2008
Posts: 3

PostPosted: Wed Aug 06, 2008 8:50 pm    Post subject: Icecast HTTP Authentication for Windows Media Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Aug 06, 2008 11:33 pm    Post subject: Reply with quote

you should find that the POST includes the query args as part of the mountpoint (encoded)

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bmcglynn



Joined: 18 Jun 2008
Posts: 3

PostPosted: Thu Aug 07, 2008 12:37 am    Post subject: Reply with quote

Thanks. This will work perfectly.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber