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 

Stream Title & URL

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



Joined: 04 Aug 2008
Posts: 3

PostPosted: Sun Aug 17, 2008 7:17 am    Post subject: Stream Title & URL Reply with quote

Some listening clients don't show the stream metadata of Icecast sources, but do display the stream title and URL sent by ShoutCast. When reading the stream data using a web browser I can see that shoutcast is sending a bunch of data at the beginning, while in case of icecast, MPEG data begins immediately.

Shoutcast wrote:
ICY 200 OK
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2:SHOUTcast Distributed Network Audio Server/win32 v1.9.8<BR>
icy-name:Radio Nord
icy-genre:
icy-url:http://example.net
content-type:audio/mpeg
icy-pub:1
icy-br:96


Can I configure Icecast to send this information?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Aug 17, 2008 12:19 pm    Post subject: Reply with quote

players won't accept the data stream if mpeg data is sent immediately. There needs to be at least a 200 OK type response like you have posted. In icecast we send the http style headers tht the source provides.

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



Joined: 04 Aug 2008
Posts: 3

PostPosted: Sun Aug 17, 2008 12:59 pm    Post subject: Reply with quote

I compared both streams again and the ICY headers are indeed there. It appears that the reply from Icecast is more correct and it's the client's fault that it doesn't understand.

I wrongly assumed that icy values are part of the data and not the head.
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 -> Listener Clients 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