24 May '13 - 17:40 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Shoutcast Version 2.0 bassenc.dll  (Read 454 times)
axisdj
Posts: 10


« on: 17 May '12 - 19:50 »
Reply with quoteQuote

I have a quick question,

Saw a post on how to stream to shoutcast servers running version 2.0. Is the new bassenc.dll backward compatible, does it auto detect wether to connect using version 1 or 2?

here is the response from ian from a previous post:

To use the Shoutcast 2 protocol, the stream id needs to be added to the BASS_Encode_CastInit "server" parameter ("address:port,sid"). A username can optionally also be included in the "pass" parameter ("username:password"). BASS_Encode_CastSetTitle is supported as usual but the "title" should be in UTF-8 form, and "url" is unused.


Can I assume that i can send the 'sid' stream ID, and if bassenc is trying to connect to a 1.0 shoutcast it will still work?

What else does shoutcast version 2.0 entail as far as encoding to stream?>


Thanks
Winston P
Logged
Ian @ un4seen
Administrator
Posts: 15275


« Reply #1 on: 18 May '12 - 14:49 »
Reply with quoteQuote

Can I assume that i can send the 'sid' stream ID, and if bassenc is trying to connect to a 1.0 shoutcast it will still work?

No, that won't work (BASS_Encode_CastInit will fail), as the old server won't know how to handle the 2.0 protocol.

Regarding other requirements of Shoutcast 2.0, besides what you quoted above (eg. UTF-8 titles), you don't really need to do anything else differently compared to connecting to an old Shoutcast server.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines