First of all this is my first question in the list and i wanna say hi to everyone:)<br><br>Let's get into my question.<br><br>I'm
writing an application that shows multiple rtsp streams (h264) in part
of a gtk window. My problem is i can't detect network failure of
streams. <span lang="en"><span>Here are the symptom</span></span>s:<br>
<br>Program starts and works perfectly. But when i unplug a network
cable of one of the source, program hangs and freezes about 1-1,5
minutes. Then the unplugged source's last frame dropped from the window
and program continues to run again. There is no warning or error message
in the bus until now. If i plug the cable again, i can get an error
message from bus but <span lang="en"><span>only in this way. (To be
clear, if i plug the cable during freeze, after 15-20 seconds the
streams continues, i mean i plug the cable after program responding
again.)<br>
<br>******ERR:Could not read from resource.<br>******ERR:gstrtspsrc.c(3878): gst_rtspsrc_loop_udp (): /GstPipeline:my_pipeline/GstRTSPSrc:Source1: Could not receive message. (Network error: Resolver Error 0 (no error))<br>
******ERR:Internal data flow error.<br>******ERR:gstrtspsrc.c(3988): gst_rtspsrc_loop (): /GstPipeline:my_pipeline/GstRTSPSrc:Source1: streaming task paused, reason error (-5)<br><br>I
try to set timeout tcp-timeout retry parameters to "0" of rtspsrc but
the freeze time won't decrease. (that's actually another question i
can't figure out) <br>
</span></span><span lang="en"><span></span></span><br>Finally i read
about reaching rtpbin element inside of the rtspsrc element and connect
signals of this internal rtpbin element. I tried it also. I found the
rtpbin element by iterating childs and checking gst_object_get_name and
connect all signals like on-bye-ssrc on-bye-timeout signal of rtpbin but
no callback function called once.<br>
<br>Is there anythink that i miss? Your advices?<br><br>My pipeline is like that:<br><br>rtspsrc --> rtph264depay --> ffdec_h264 --> ffmpegcolorspace --> videobox --> videorate --> videomixer<br>rtspsrc --> rtph264depay --> ffdec_h264 --> ffmpegcolorspace --> videobox --> videorate --> videomixer<br>
rtspsrc --> rtph264depay --> ffdec_h264 --> ffmpegcolorspace --> videobox --> videorate --> videomixer<br>
rtspsrc --> rtph264depay --> ffdec_h264 --> ffmpegcolorspace
--> videobox --> videorate --> videomixer --> colorspace
--> ximagesink<br>
<br>My simplified source code is here:<br><br><a href="http://pastebin.com/jPrwaN5M" target="_blank">http://pastebin.com/jPrwaN5M</a><br><span lang="en"><span><br>Thank you in advance</span> <span>for the replies</span><span>.<br>
-engin<br><div class="yj6qo ajU"><div id=":146" class="ajR" tabindex="0"><br></div></div></span></span>