steamcast with authentication and SourceRawKey
steamcast with authentication and SourceRawKey
Hi there,
Firstly I must say thank you to the coders, this media server is a lot better than icecast/shoutcast for user authentication. Icecast cannot handle authentication for all media players, where as steamcast works: winamp, foobar, wmp.
Very simple flash clients works with 3 lines of code, with SourceRawKey. Perfect.
But the problem in this schema is the authentication + SourceRawKey
Steamcast does not accept station?rawdata&user=xxx&pass=xxx or variations, see below
For the above url, it depends on the userAgent of the client (which is set by browsers for flash clients)
HTTP authentication headers from flash does not work also, cuz, flash implementation needs dummy post info in order to send authentication digest, which breaks steamcast, and it behaves as if a standard web request is done.
I have tried all combinations:
1. url. station.mp3?rawdata, user info in post
2. station.mp3?rawdata&user=xxx&pass=xxx
3. station.mp3?user=xxx&pass=xxx, rawdata in post
4. station.mp3?rawdata, http auth headers (flash needs to send dummy post), this works from IDE but not from web, probably ide sends useragent as flash client, where web sends the browser info
Is there a solution?
Thank you
Firstly I must say thank you to the coders, this media server is a lot better than icecast/shoutcast for user authentication. Icecast cannot handle authentication for all media players, where as steamcast works: winamp, foobar, wmp.
Very simple flash clients works with 3 lines of code, with SourceRawKey. Perfect.
But the problem in this schema is the authentication + SourceRawKey
Steamcast does not accept station?rawdata&user=xxx&pass=xxx or variations, see below
For the above url, it depends on the userAgent of the client (which is set by browsers for flash clients)
HTTP authentication headers from flash does not work also, cuz, flash implementation needs dummy post info in order to send authentication digest, which breaks steamcast, and it behaves as if a standard web request is done.
I have tried all combinations:
1. url. station.mp3?rawdata, user info in post
2. station.mp3?rawdata&user=xxx&pass=xxx
3. station.mp3?user=xxx&pass=xxx, rawdata in post
4. station.mp3?rawdata, http auth headers (flash needs to send dummy post), this works from IDE but not from web, probably ide sends useragent as flash client, where web sends the browser info
Is there a solution?
Thank you
Re: steamcast with authentication and SourceRawKey
Ok, solved with CS4. CS3 or CS2 cannot handle.