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 

OK to stop streaming mid-file?

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





PostPosted: Mon Feb 20, 2006 7:36 pm    Post subject: OK to stop streaming mid-file? Reply with quote

Now that I have libshout working, I'm writing a schedule-based player for an Internet radio station. I'll be reading in pre-encoded 128k MP3 files and sending them right out again with libshout. I anticipate that the file may sometimes be longer than its scheduled slot, so I will need to stop streaming it before reaching end-of-file.

Is it ok to simply end the shout_send/shout_sync loop at any point, and start sending a new file? Or do I need to stop on a frame boundary to avoid confusing the icecast server or its eventual clients?

Jay Levitt
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
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