[Live-devel] derived RTSPServer class - get RTSPClientSession by SessionId

Ross Finlayson finlayson at live555.com
Wed Jan 1 13:14:26 PST 2014


> I'm trying to write my own special RTSPServer which extends the
> functionality of the library's RTSPServer for some special protocol.
> My RTSPServer is supposed to make little changes to the RTSP Messages before
> they are send. I'm now stuck at the point where I want to implement a
> DESCRIBE-Response for Requests with only rtsp://<server-ip>:<port>/ as
> Content-Base but with a correct SessionID.

It's unusual for a "DESCRIBE" request to contain a "Session:" header.  I think it's allowed in the protocol, but our RTSP client implementation does not support it.  (So, if you wanted to do this, for your client(s) you'd either need someone else's RTSP client implementation, or else hack ours :-(

So, I'm curious, why do you want to do this?  I.e., why do you want the SDP description resulting from the "DESCRIBE" command to depend upon the particular (already existing) session in which the command was sent, rather than simply upon the object that's being described?

Are you sure that you can't do what you want using the existing "SET_PARAMETER" and/or "GET_PARAMETER" commands (which are already supported by both our server *and* client implementations)?

Generally speaking, "special protocols" are a bad idea, if there are existing (and standardized!) protocols that do the same thing...


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140101/f419b6b4/attachment-0001.html>


More information about the live-devel mailing list