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 

Icecast KH
Goto page 1, 2, 3 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jul 31, 2007 1:58 am    Post subject: Icecast KH Reply with quote

ok, kh17 is up at my website. This cleans up the issues reported to me. The changes in recent versions are more or less settled down now. Besides any race cases or resource leaks, the more notable stuff includes

By default (if available) IPv6 and IPv4 will be listened for.

Allow IP and Deny IP lists. The latter is probably more useful or problem clients.

The alias mechanism works with /admin pages as well as webroot/streams

XSPF generation works in the same way as m3u except it is based on a XSLT in adminroot. Like m3u, if the .xspf file already exists in webroot then that is used.

Relays can specify multiple servers to contact, also if a relay receives redirection response then it will try the returned address.

The streamlist for slaves was based on the masters mount list which meant streams without a mount where not exported. This was fine is most cases but now the streamlist works from the stats (marked as non-hidden) so even non-mount'd streams are exported.

A mount can specify a max bandwidth which can be used in conjunction with max listeners

Wildcard mounts implemented. The symbols *, [], ? have a special meaning which can allow a single mount defintion to match multiple streams or files (eg /stream*.ogg). This way a single auth definition or other mount setting like max listeners can be specified once but applied multiple times.

auth url now takes a handlers option as well as stream-auth. The handlers setting creates a threadpool for that particular auth (default 1). This should help process auth requests especially if the mount is wildcard based.

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Aug 23, 2007 3:29 pm    Post subject: Reply with quote

kh19 is out now. The crash cases that were reported to me are now fixed (thanks for the feedback), so if there are any others then please report them. No functional changes have occurred since kh17, just stabilizing work.

Also, many updates have been made to the trunk code, so if any issues are showing up then by all means report them.

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Sep 04, 2007 1:35 am    Post subject: Reply with quote

kh20 is up now. some thread changes which should reduce the delay before data is returned, also the listening sockets will reopen over an xml reload.

I've put in a check for a Location header coming back from auth url which can be used to send a http 302 (redirect) response to the new listener. This should allow people to do things like load sharing based on whatever they like.

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Tue Sep 04, 2007 8:47 am    Post subject: Reply with quote

There must be some problem around the win32 service, as it doesn't register itself in the services list, and manually adding it doesn't work.
Back to top
View user's profile Send private message
Anonymous
Guest





PostPosted: Tue Sep 04, 2007 6:45 pm    Post subject: Reply with quote

Are the authentication tags or something different in this one, any authenticated streams I put up come as unauthenticated
Back to top
Anonymous
Guest





PostPosted: Tue Sep 04, 2007 6:54 pm    Post subject: Reply with quote

deffo an issue in kh20 as im now back running kh19 successfully
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Sep 04, 2007 10:08 pm    Post subject: Reply with quote

robertut wrote:
There must be some problem around the win32 service, as it doesn't register itself in the services list, and manually adding it doesn't work.


I think I've made 1 change to win32 in a long time and that was to prevent a buffer overflow, so I'm puzzled at that one. Annoyingly it's not something I can verify. Does it work as it should as an app as opposed to a service?

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Sep 04, 2007 10:20 pm    Post subject: Reply with quote

Scott_FreeLiveFooty.TV wrote:
Are the authentication tags or something different in this one, any authenticated streams I put up come as unauthenticated


Can you send me the xml (pw can be removed) and error log for this, theres no xml difference in kh20.

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Wed Sep 05, 2007 6:16 am    Post subject: Reply with quote

karlH wrote:
robertut wrote:
There must be some problem around the win32 service, as it doesn't register itself in the services list, and manually adding it doesn't work.


I think I've made 1 change to win32 in a long time and that was to prevent a buffer overflow, so I'm puzzled at that one. Annoyingly it's not something I can verify. Does it work as it should as an app as opposed to a service?

karl.

Symptoms:
- The KH setup has the option at the end to install the service. Ticking this option brings up a console window, that closes after a few seconds, but the service doesn't appear between the services in the Services applet.
- the gui version, Icecast2.exe - works fine
- the console version, icecast2console.exe - works fine
- the service version, after adding it manually to services, with sc create, exits unexpectedly according to the system log. The crash of the application occurs almost instantly.

The service version would be needed the most, as restart actions can be defined etc etc, in Win32 environment that would be the most suitable solution.

The same behaviour was noticed at KH 19 also.
Back to top
View user's profile Send private message
Anonymous
Guest





PostPosted: Wed Sep 05, 2007 8:15 am    Post subject: Reply with quote

mount setup is like such :

Code:
<listen-socket>
    <port>8924</port>
    <!-- defining shoutcast-mount in here will make icecast automatically allocate <port> and <port>+1 -->
    <shoutcast-mount>stream8.nsv</shoutcast-mount>
</listen-socket>

<listen-socket>
    <port>8926</port>
    <!-- defining shoutcast-mount in here will make icecast automatically allocate <port> and <port>+1 -->
    <shoutcast-mount>/stream9.nsv</shoutcast-mount>
</listen-socket>


then the rest is like this for the relays

Code:
<mount>
    <authentication type="url">
<option name="allow_duplicate_users" value="1"/>
      <option name="listener_add" value="http://freelivefooty.tv/forum/ic_auth.php" />
      <option name="listener_remove" value="http://freelivefooty.tv/forum/ic_auth.php" />
    </authentication>
    <burst-size>128936</burst-size>
    <max-listeners>300</max-listeners>
    <mount-name>/stream7.nsv</mount-name>
    <password>xxxxx</password>
  </mount>

<relay>
        <server>64.157.xxx.xxx</server>
        <port>8050</port>
        <mount>/;stream.nsv</mount>
        <local-mount>/stream7.nsv</local-mount>
        <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
    </relay>



<mount>
    <authentication type="url">
<option name="allow_duplicate_users" value="1"/>
      <option name="listener_add" value="http://freelivefooty.tv/forum/ic_auth.php" />
      <option name="listener_remove" value="http://freelivefooty.tv/forum/ic_auth.php" />
    </authentication>
    <burst-size>128936</burst-size>
    <max-listeners>300</max-listeners>
    <mount-name>stream8.nsv</mount-name>
    <password>xxxxx</password>
  </mount>

<relay>
        <server>64.157.xxx.xxx</server>
        <port>8040</port>
        <mount>/;stream.nsv</mount>
        <local-mount>/stream8.nsv</local-mount>
        <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
    </relay>
[/quote]
Back to top
Anonymous
Guest





PostPosted: Wed Sep 05, 2007 8:24 am    Post subject: Reply with quote

cant post an error log just now as I am running KH19. Also a bug in KH19 Smile:

It seems to crash a lot, like just give up and i have to start it using:

icecast -b -c /usr/local/etc/icecast.xml
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 05, 2007 3:26 pm    Post subject: Reply with quote

You have no / in <mount-name>stream8.nsv</mount-name> so that won't be matching any stream.

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





PostPosted: Sat Sep 08, 2007 6:49 pm    Post subject: Reply with quote

Even still, no auth. Anyone else with this issue on kh20?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Sep 08, 2007 10:25 pm    Post subject: Reply with quote

You could email the error log (level 4) along with the xml, I have a modest understanding of the code Wink

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





PostPosted: Sun Sep 16, 2007 12:48 pm    Post subject: Reply with quote

what is different in kh20a? Wink
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Goto page 1, 2, 3 ... 17, 18, 19  Next
Page 1 of 19

 
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