[Live-devel] open session ciclically

Ross Finlayson finlayson at live555.com
Mon Oct 29 02:30:58 PDT 2007


>Hi,
>
>I am writing an applicaction (I am using mswindows) using LIVE555 
>that plays cyclically a time limited stream, some sort of:
>
>openRTSP -c -e 10 rtsp://...
>
>but with the basic difference that I need to do it with a different 
>RTSP session at every cycle.
>
>This to overcome an rtsp session timeout problem in a device I am using.
>
>Probably I am missing something simple, but what happens, is that 
>after I have closed the first session, the first "OPTIONS" command 
>to the second one (or any other) tries to go throw the closed 
>socket, and not to open a new one.

I'm not really sure what's going wrong here, but you might try adding 
the "-O" option, which tells the application not to send the 
"OPTIONS" command at all?

Alternatively, you could just run "openRTSP" multiple times - without 
the "-c" option - from a script.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list