Query on network interface going down while streaming...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Query on network interface going down while streaming...

Rajesh Marathe
Hi,

I am using Gstreamer Core and Base versions 0.10.28 and good version
0.10.21. We have a streaming application that streams media files on to
an embedded device over Ethernet from a remote Apache media streaming
server.
My pipeline is something like this:
------------------------------------

gst-launch souphttpsrc location=... ! queue ! avidemux name=ss ss. !
queue ! mfw_vpudecoder ! V4Lsink ss. ! queue ! mad ! alsasink

My questions are as under:
1. When I pull out the Ethernet interface, the streaming stops and the
display freezes. But, I do not get to see any GST-MESSAGES sent from the
core to my application. Please note that my application is printing all
the gst BUS messages and I expected to see some message notification
when the streaming stops due to cable pull-out.
Is GStremer not notified when the interface on which the media is being
streamed goes down ? If it is notified, how do I get that message to my
application ?


2. Other question I had was on the usage of Apache server for HTTP
streaming ? Is this server good enough to stream media to around 40
clients seamlessly over Etherent ?? If not, which is the recommended
Streaming server to use ?

regards,
Rajesh Marathe.




------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query on network interface going down while streaming...

Ron McOuat
On 10-06-08 10:23 PM, Rajesh Marathe wrote:

> Hi,
>
> I am using Gstreamer Core and Base versions 0.10.28 and good version
> 0.10.21. We have a streaming application that streams media files on to
> an embedded device over Ethernet from a remote Apache media streaming
> server.
> My pipeline is something like this:
> ------------------------------------
>
> gst-launch souphttpsrc location=... ! queue ! avidemux name=ss ss. !
> queue ! mfw_vpudecoder ! V4Lsink ss. ! queue ! mad ! alsasink
>
> My questions are as under:
> 1. When I pull out the Ethernet interface, the streaming stops and the
> display freezes. But, I do not get to see any GST-MESSAGES sent from the
> core to my application. Please note that my application is printing all
> the gst BUS messages and I expected to see some message notification
> when the streaming stops due to cable pull-out.
> Is GStremer not notified when the interface on which the media is being
> streamed goes down ? If it is notified, how do I get that message to my
> application ?
>
>
> 2. Other question I had was on the usage of Apache server for HTTP
> streaming ? Is this server good enough to stream media to around 40
> clients seamlessly over Etherent ?? If not, which is the recommended
> Streaming server to use ?
>
> regards,
> Rajesh Marathe.
>
>    
souphttpsrc has a timeout property use timeout=10 after location='....'
to set a 10 second timeout for example. The default is 0 which is no
timeout in terms of a blocking I/O timer. The TCP timer will eventually
pop and should return a read error but that is a relatively long time -
minutes.

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-souphttpsrc.html


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel