On Sun, Jan 16, 2011 at 3:31 PM, Ross Finlayson <finlay...@live555.com>wrote:
> In such cases server should just respond by OK 200 or 451 >> >> RTSP/1.0 451 Parameter Not Understood >> > > Hmmm. The RTSP 1.0 spec lists "451" as being an error code only for > "SETUP", although the RTSP 2.0 spec lists it as being an error code only for > "SET_PARAMETER". (The latter is actually a mistake; it should also be an > error code for "GET_PARAMETER", at least according to the remainder of the > spec.) > > To be on the safe side, I should probably change the code to respond to > "SET_PARAMETER" with "OK 200", but not actually do anything. I'll make this > change in the next release of the software. > > (If you wanted to actually *handle* the "SET_PARAMETER" command - i.e., not > just have it be a no-op - then you would do this by subclassing "RTSPServer" > and "RTSPServer::RTSPClientSession", and reimplementing the virtual function > "RTSPServer::RTSPClientSession ::handleCmd_SET_PARAMETER()" in your > subclass.) > Thanks--I won't have time to test this change for a couple weeks (I need to get a symbian phone, and busy with other junk at the moment), but I'll let you know the outcome when I do.
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel