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 

on-demand broken in fallback mode

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Fri Aug 03, 2007 4:17 pm    Post subject: on-demand broken in fallback mode Reply with quote

I posted this on the dev list with no response, so I'm trying it here. Sorry for the cross post.

It seems there is a bug somewhere in the on-demand logic for relays and
fallback. After a fallback point initiates an on-demand relay, it never disconnects.

Here's the scenario -

1. Player connects to /asf1
2. Source relay for /asf1 is downed
3. Player is now playing /asf2 as it should. Relay for /asf2 starts.
4. Source relay for /asf2 is downed
5. Player is now playing /asf3 as it should.
6. Relay for /asf2 is restored
7. Player is now playing /asf2 as it should.
8. Relay for /asf1 is restored
9. Player is now playing /asf1 as it should.
*** Relay for /asf2 never disconnects until kicked. Status page shows all
three mount points up and running, instead of just 1 and 3 (3 being a live encoder connection which is always up).

Here's the layout -

/asf1 is primary relay
/asf2 is fallback relay for asf1
/asf3 is a live encoder connection that is fallback for /asf2

<relays-on-demand>1</relays-on-demand>

<relay>
<server>10.0.0.1</server>
<port>6996</port>
<mount>/</mount>
<local-mount>/asf1</local-mount>
<on-demand>1</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>

<relay>
<server>10.0.0.2</server>
<port>6996</port>
<mount>/</mount>
<local-mount>/asf2</local-mount>
<on-demand>1</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>

<mount>
<mount-name>/asf1</mount-name>
<max-listeners>10</max-listeners>
<burst-size>65536</burst-size>
<fallback-mount>/asf2</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<hidden>0</hidden>
<no-yp>1</no-yp>
</mount>

<mount>
<mount-name>/asf2</mount-name>
<max-listeners>10</max-listeners>
<burst-size>65536</burst-size>
<fallback-mount>/asf3</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<hidden>0</hidden>
<no-yp>1</no-yp>
</mount>

<mount>
<mount-name>/asf3</mount-name>
<max-listeners>10</max-listeners>
<burst-size>65536</burst-size>
<!-- <fallback-mount></fallback-mount> -->
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<hidden>0</hidden>
<no-yp>1</no-yp>
</mount>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Bug Reports 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