[Live-devel] RTSP reconnect

Miguel Angel Arcos marcos at a5security.com
Thu Mar 25 00:29:09 PDT 2010


Hi all,

I am working in a client RTSP and I am having some problems when my program
loses the connection with an IP camera, it's the server RTSP. I have a timer
with a function and then I can detect correctly when i lose the conection,
without teardown, for example disconnection of the network. After I detect
the disconnection I try to reconnect and then I have some
questions/problems.

Can I create another RTSPClient without stopping the EventLoop?

There are any function that I can use to know if the server is up without
the creation of a RTSPClient?

In my case I use to know after the creation of another client the
sendOptionsCmd function but if this fails I wait 30 secs and I try to create
another client, I have recovered my network now for example, and all the
processes are ok (setup, playsession and call of getNextFrame) but i don't
receive any frame on my callback function and I don't understand the reason.
I don't stop the EventLoop in that case.

Thanks in advance.

PD: Sorry if my explanation is confusing.

-- 
Miguel Angel Arcos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100325/9e2ceead/attachment-0001.html>


More information about the live-devel mailing list