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 1998Appendix A: RTSP Protocol State MachinesThe RTSP client and server state machines describe the behavior ofthe protocol from RTSP session initialization through RTSP sessiontermination.State is defined on a per object basis. An object is uniquelyidentified by the stream URL and the RTSP session identifier. Anyrequest/reply using aggregate URLs denoting RTSP presentationscomposed of multiple streams will have an effect on the individualstates of all the streams. For example, if the presentation /moviecontains two streams, /movie/audio and /movie/video, then thefollowing command:PLAY rtsp://foo.com/movie RTSP/1.0CSeq: 559Session: 12345678will have an effect on the states of movie/audio and movie/video.This example does not imply a standard way to represent streams inURLs or a relation to the filesystem. See Section 3.2.The requests OPTIONS, ANNOUNCE, DESCRIBE, GET_PARAMETER,SET_PARAMETER do not have any effect on client or server state andare therefore not listed in the state tables.A.1 Client State MachineThe client can assume the following states:Init:Ready:SETUP has been sent, waiting for reply.SETUP reply received or PAUSE reply received while in Playingstate.Playing:PLAY reply receivedRecording:RECORD reply receivedIn general, the client changes state on receipt of replies torequests. Note that some requests are effective at a future time orposition (such as a PAUSE), and state also changes accordingly. If noexplicit SETUP is required for the object (for example, it isSchulzrinne, et. al. <strong>Standards</strong> <strong>Track</strong> [Page 76]

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

Saved successfully!

Ooh no, something went wrong!