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 

aac+ icecast to shoutcast relay shows incorrect media

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



Joined: 18 Apr 2014
Posts: 3

PostPosted: Fri Apr 18, 2014 10:16 am    Post subject: aac+ icecast to shoutcast relay shows incorrect media Reply with quote

Hi,

My operating scenario is as follows:

Source (AAC) -> shoutcast server -> icecast server -> shoutcast server

The media type on the first shoutcast server & icecast server both show "aac+". Clients can connect and stream audio from these.

However on the final shoutcast server, the content type is shown as "mpeg" as such clients cannot stream from this.

Connecting the two shoutcast servers back to back works as expected (ie. both show aac) so it is something in the icecast connection which is causing this.

Icecast version is 2.3.2

Rgs,


Jon.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Apr 18, 2014 8:57 pm    Post subject: Reply with quote

what is the content type from the first shoutcast and what type is reported on the stats page in icecast?

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



Joined: 18 Apr 2014
Posts: 3

PostPosted: Sun Apr 20, 2014 9:06 am    Post subject: Reply with quote

First shoutcast server reports:

Content Type: audio/aacp

Icecast server reports:

server_type audio/aacp


Jon.
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 Apr 20, 2014 11:27 am    Post subject: Reply with quote

I think I know what the issue is here. shoutcast will need the content type header to determine the aac aspects and default to mp3 if it cannot but, stupidly, shoutcast does a case sensitive check on the header and fails to set up things correctly when relaying. I added a check in the KH tree to allow a change in the case if the shoutcast useragent was received so 2.3.2 sends out the correct thing but shoutcast misses it. You can either modifiy the icecast code to send the lower case content type (not sure if any other clients will have issues though) or use the KH build to get that to work.

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



Joined: 18 Apr 2014
Posts: 3

PostPosted: Fri Apr 25, 2014 2:20 pm    Post subject: Reply with quote

Ok, thanks for the info. I will investigate both options when I get a spare 5 minutes...

Rgs,

Jon.
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 -> 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