shout2send socket timeout

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

shout2send socket timeout

LeonB
Hi all,

I'm building a web jukebox with gstreamer/shout2send as a backend. I'm using playbin2 and add shout2send as an output sink.
But sometimes no one has voted (yet) so I pause the pipeline, else it would reacht the eos signal.

But if I pause the pipeline the connection with icecast gets dropped after a couple of seconds. I see this in the icecast logs:

  [2010-01-07  21:08:44] WARN source/get_next_buffer Disconnecting source due to socket timeout
  [2010-01-07  21:08:44] INFO source/source_shutdown Source "/bin/icecream.py" exiting

Can I do something to prevent breaking? I've discussed it with __tim in the #gstreamer channel last night and came up with a couple of posibilities:
 - use an appsrc:// uri and use "audiotestsrc wave=silence " to send
 - use a file with encoded silence and loop that until the next uri

But does anyone have any other propositions?

Thanks in advance!

Leon

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel