[Live-devel] Add 454 (Session Not Found) handler to RTSPServer

Lionel Orry lionel.orry at em-sys.fr
Wed Jul 18 04:00:23 PDT 2012


Hi list,

here is a patch suggesting the addition of a handler for the RTSP/1.0
454 status code.

I've also replaced the '405 Not Allowed' response on a missing media
session by this one which seems more appropriate in this case.

Remark: it may be interesting to validate at the beginning of
RTSPServer::RTSPClientSession::handleCmd_withinSession() the presence of
the "Session" header field, and systematically return 454 in case of
absence or unknown Session, what do you think? Is this too strict for
some famous RTSP clients?

Best regards,
Lionel Orry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: live555_add_454_handler.patch
Type: text/x-patch
Size: 2255 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120718/2e8f0e12/attachment-0001.bin>


More information about the live-devel mailing list