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 

Passing Content Type from Icecast to Shoutcast Relay

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



Joined: 29 Dec 2009
Posts: 5
Location: Vancouver, BC, Canada

PostPosted: Tue Dec 29, 2009 9:50 pm    Post subject: Passing Content Type from Icecast to Shoutcast Relay Reply with quote

Hello,

I've been able to successfully relay an mp3 stream from Icecast to Shoutcast. I used an alias to map / to the mountpoint. I also have shoutcast-mount defined in the icecast.xml file.

This process breaks down when I try to relay an aac stream which is what I really want. I'm using an encoder app called LadioCast. The current version works with Icecast but has no Shoutcast support. My station's streaming server only supports Shoutcast. The logical solution is to locally run an Icecast server and relay it to Shoutcast. As mentioned, this works flawlessly for mp3.

At the Shoutcast server end, the stream shows up as content type audio/mpeg regardless of the type of stream on Icecast. The Icecast stream correctly appears in Icecast as audio/aacp.

I've tried numerous tricks in both the Icecast and Shoutcast config files to try and force the content type to appear as audio/aacp in Shoutcast but so far no success. All of the normal meta data is passing through correctly from Icecast to Shoutcast. It even shows the correct bit rate for the aac stream. The only invalid info. is content type. That's sufficient to prevent stream playback.

I have the mount point named with a .aac extension. That makes no difference at the Shoutcast end.

Is there some trick code I can put in icecast.xml to push the audio/aacp content type through to Shoutcast? If not, I'm open to any code tricks at the sc_serv.conf end to force Shoutcast to set the content type to audio/aacp.

Thanks in advance for any insights you might have into this!
_________________
Regards,
Phil
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 Dec 30, 2009 1:38 am    Post subject: Reply with quote

I don't see why the content type would not get to shoutcast correctly. I'm assuming that shoutcast is connecting ok and is getting content from icecast.

From some tests I've done, it looks like that shoutcast is case sensitive on that header. I'll send you something to try out.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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