Hi Ross,
I would like to know if that would be interesting to make all RTSP
requests handling in RTSPServer session-aware; an example of flow would
be, for a request XXX currently unaware of session (OPTIONS for
instance):
- detect presence of Session header
- if present:
- call RTSPServer::RTSPClientSession::handleCmd_XXX()
- default implementation of handleCmd_XXX() is to call
RTSPServer::RTSPClientConnection::handleCmd_XXX()
- implementation in RTSPClientConnection as usual
- if absent:
- call RTSPServer::RTSPClientConnection::handleCmd_XXX() directly
That way, if one needs a special handling of such a request in a session
context, he can override RTSPServer::RTSPClientSession::handleCmd_XXX().
What do you think about it?
Regards,
Lionel
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel