[Live-devel] OPTIONS vs GET_PARAMETER for keep alive with proxy server

Craig Matsuura cmatsuura at vivint.com
Tue Mar 4 15:19:26 PST 2014


I'm still consider myself a newbie with RTSP, but had a question I hope 
someone can help me with.

I have a general question about a camera session and keeping it alive.  
The rtsp proxy uses OPTIONS by default and optionally can use 
GET_PARAMETER.  If a camera closes a session due to some bug how would 
the proxy server know if the camera responds to the OPTIONS command.

I assume the Session header is sent with the OPTIONS command once a 
session is setup for a camera.  Should the camera honor the Session 
header and if the camera closed the session the OPTIONS command should 
respond with a 454 Session Not Found?

I noticed in the RTSP RFC there is an example with a GET_PARAMETER call 
with a Session header, but no example with an OPTIONS command with a 
Session header.  So if the GET_PARAMETER was used for keep-alive should 
the server honor the Session header and respond with a 454 if the 
session was closed on the camera?

If my understanding on the session header is inaccurate I apologize.

Thanks,
Craig


More information about the live-devel mailing list