steamcast with authentication and SourceRawKey

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
keskinege
Posts: 2
Joined: Tue Apr 20, 2010 5:38 am

steamcast with authentication and SourceRawKey

Post by keskinege » Tue Apr 20, 2010 5:54 am

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

keskinege
Posts: 2
Joined: Tue Apr 20, 2010 5:38 am

Re: steamcast with authentication and SourceRawKey

Post by keskinege » Thu Apr 22, 2010 6:58 am

Ok, solved with CS4. CS3 or CS2 cannot handle.

Post Reply