rtspsrc: Attempting to reconnect to IPCam

Marc Leeman marc.leeman at gmail.com
Mon Jul 16 04:00:48 PDT 2012


> I searched the documentation but didn't find anything; I guess that's
> because this is an app task, not a rtspsrc one.
>
>
>> Do I need to tear down and set up my pipeline again every so often?
>
>
> I just stopped it (set it's status to stopped); don't know waht you mean by
> "tear down".
> Then a thread periodically tries to restart it, monitoring the bus for error
> messages or chenaged status (success).

What is stopping at your camera?

If the entire RTSP control stops; your pipeline will exit; and a
simple 'while' would do it around your app; or does your camera stop
streaming while keeping the RTSP control line open?


More information about the gstreamer-devel mailing list