Hi,<div><br></div><div>I'm using rtspsrc to request video from an IP camera.</div><div><br></div><div>Everything works fine in normal conditions however if I unplug the network cable from the camera my pipeline takes several minutes to timeout.</div>
<div><br></div><div>This is the error message I get minutes later:</div><div><br></div><div><div><b> code = 7</b></div><div><b>domain = gst-resource-error-quark</b></div><div><b> error = Could not open resource for reading and writing.</b></div>
<div><b> debug = gstrtspsrc.c(3839): gst_rtspsrc_loop_udp (): /GstPipeline:RTSPPlayer/GstRTSPSrc:rtspsrc9:</b></div><div><b><br></b></div><div><b>Could not connect to server. (System error: Connection refused)</b></div></div>
<div><br></div><div>I've gone through the documentation of rtspsrc but there's no way to specify a timeout for RTP packets. Could someone tell me the best way to detect the absence of data in the pipeline? It doesn't necessarily have to be on rtspsrc. I just need a way to quickly detect that the pipeline is not handling any data.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Thierry</div>