Hi,<br><br><div class="gmail_quote">On Thu, Oct 21, 2010 at 2:43 PM, Kocsis Tibor <span dir="ltr"><<a href="mailto:ikt011@gmail.com">ikt011@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
my problem is the following: I watch a live view from an ip camera<br>
through rtp, the source element is rtspsrc. Then I pull out the<br>
camera's utp cable and I don't see any error messages on the bus or<br>
something else from that I can detect the pull-out. Is there any way<br>
to detect the video lost after all? What should I do?<br></blockquote><div><br>I guess for "UTP" cable you mean the ethernet connection (being usually the connection toward the physical camera coaxial).<br><br>
In order to understand whether no data is neing transmitted anymore, you can use the "on-timeout" signal in rtpbin:<br><br><a href="http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-gstrtpbin.html#GstRtpBin-on-timeout">http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-gstrtpbin.html#GstRtpBin-on-timeout</a><br>
<br>Unfortunately, this timeout value appears not to be directly tunable, being computed as the minimum between 5s and 5 times the (RTCP?) reporting time. The latter is not directly tunable and should require some negotiation at signaling level (I guess you're using RTSP or SIP) to get prompt reaction for the receiving sw.<br>
<br>Regards</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Thanks,<br>
Tibor<br>
<br>
------------------------------------------------------------------------------<br>
Nokia and AT&T present the 2010 Calling All Innovators-North America contest<br>
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada<br>
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing<br>
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store<br>
<a href="http://p.sf.net/sfu/nokia-dev2dev" target="_blank">http://p.sf.net/sfu/nokia-dev2dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>