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 

Multithreaded streamsource server with libshout

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





PostPosted: Fri Jan 05, 2007 2:35 pm    Post subject: Multithreaded streamsource server with libshout Reply with quote

Hi,
I've created a multithreaded "source-server" that sends to different mounts on the Icecast server. Everything work ok if all sources sends with the same bitrate. If the sources sends at different bitrates the listening clients "overhear" other "channels" (mounts). What is wrong? Can't I do like this?

Regards Toni
Back to top
Anonymous
Guest





PostPosted: Fri Jan 05, 2007 2:36 pm    Post subject: Update Reply with quote

Update: seems to be the same problem when sending with same bitrate but the problem is less frequent.
Back to top
Anonymous
Guest





PostPosted: Fri Jan 05, 2007 2:37 pm    Post subject: Update again! Reply with quote

I can get rid of the problem if I move the streamsource from different threads to different processes. Is there a threadsafety issue in libshout?

ANYBODY! if you know anything of this please share it!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients 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