13.07.2015 Views

Standards Track A. Rao Netscap - RFC Editor

Standards Track A. Rao Netscap - RFC Editor

Standards Track A. Rao Netscap - RFC Editor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RFC</strong> 2326 Real Time Streaming Protocol April 1998C->S: RTSP/1.0 200 OKCSeq: 431Content-Length: 46Content-Type: text/parameterspackets_received: 10jitter: 0.3838The "text/parameters" section is only an example type forparameter. This method is intentionally loosely defined with theintention that the reply content and response content will bedefined after further experimentation.10.9 SET_PARAMETERThis method requests to set the value of a parameter for apresentation or stream specified by the URI.A request SHOULD only contain a single parameter to allow the clientto determine why a particular request failed. If the request containsseveral parameters, the server MUST only act on the request if all ofthe parameters can be set successfully. A server MUST allow aparameter to be set repeatedly to the same value, but it MAY disallowchanging parameter values.Note: transport parameters for the media stream MUST only be set withthe SETUP command.Restricting setting transport parameters to SETUP is for thebenefit of firewalls.The parameters are split in a fine-grained fashion so that therecan be more meaningful error indications. However, it may makesense to allow the setting of several parameters if an atomicsetting is desirable. Imagine device control where the client doesnot want the camera to pan unless it can also tilt to the rightangle at the same time.Example:C->S: SET_PARAMETER rtsp://example.com/fizzle/foo RTSP/1.0CSeq: 421Content-length: 20Content-type: text/parametersbarparam: barstuffS->C: RTSP/1.0 451 Invalid ParameterSchulzrinne, et. al. <strong>Standards</strong> <strong>Track</strong> [Page 38]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!