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 

Problems with Shoutcast-Compat

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



Joined: 21 Nov 2007
Posts: 30

PostPosted: Sat Jan 19, 2008 8:31 pm    Post subject: Problems with Shoutcast-Compat Reply with quote

Hey!

I am trying to create one mount on my Icecast-Server, to use with Shoutcasts sc_trans.

The server uses port 8000 as normal icecast port...

Code:
    <listen-socket>
        <port>8000</port>
    </listen-socket>


and I specified another port as shoutcast-compat and defined the mount icecast should use for shoucast feed.

Code:
    <listen-socket>
        <port>8030</port>
        <!--<bind-address>127.0.0.1</bind-address>-->
        <shoutcast-compat>1</shoutcast-compat>
    </listen-socket>

    <shoutcast-mount>/fallback-loop.mp3</shoutcast-mount>


Now the problem appears that any shoutcast source (I tried sc_trans and oddcastV3 as shoutcast-souce) says "Error in socket connection".
Then there ist no information in error log (Level4).

But when I point to that port via my webbrowser I get a zero byte answer and there is a info in the error.log
Quote:
[2008-01-19 21:21:54] INFO connection/_handle_shoutcast_compatible password does not match "GET / HTTP/1.1"


Whats wrong in my configuration?

Thank you!

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jan 19, 2008 8:49 pm    Post subject: Reply with quote

shoutcast style connection use 2 consecutive port numbers, so 8000 and 8030 won't work, however 8000 and 8001 will.

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



Joined: 21 Nov 2007
Posts: 30

PostPosted: Sat Jan 19, 2008 9:26 pm    Post subject: Reply with quote

Yes you are right.. I discovered it.... (shoutcast source connects to n+1 right)

Now I have my "normale" icecast port at 8000 and the shoutcast-compat at 8001...

It works with Oddcast (Shoutcast Mode) but sc_trans disconnects every 10 (or someting like tha) seconds and icecast doesnt shows the source connected to the server (in status.xsl)...


Quote:
<01/19/08@22:22:50> [STREAM] Host server gave success (OK2)
<01/19/08@22:22:50> [STREAM] Stream to 127.0.0.1 established
<01/19/08@22:23:05> [STREAM] Disconnecting from stream host [waiting 10s]
<01/19/08@22:23:15> [STREAM] Creating stream socket
<01/19/08@22:23:15> [STREAM] Connected to host server
<01/19/08@22:23:30> [STREAM] Disconnecting from stream host [waiting 10s]


There is no (!) entry in error.log or access.log...

Kai
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 Jan 20, 2008 12:43 am    Post subject: Reply with quote

Can you try with the trunk code, check my website for where to get that. I think there was some header updates that sc_trans required.

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