On Sun, Jan 16, 2011 at 3:31 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In such cases server should just respond by OK 200 or 451<br>
<br>
RTSP/1.0 451 Parameter Not Understood<br>
</blockquote>
<br></div>
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.)<br>
<br>
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.<br>
<br>
(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.)<br>
</blockquote><div><br>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.<br></div>
</div>