Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RTSP Parsing

Sending

At the time of this writing, RTSP messages are generated all over the place. We try to fix that right now and to move all message creation code to the child classes of RTSP::Msg in komssys/rtsp/RTSPMsg.h. When that is complete, the creation of RTSP packets will be easily readable.

The actual sending of RTSP messages involves two steps: the TCP socket for RTSP is known to the RTSPFillBuffer class in komssys/rtsp/parser and it is used by calling one of several MsgOut functions. The MsgOut functions are called from different places in komssys/rtsp/server/Admin, komssys/rtsp/server/ProxyAdmin and komssys/rtsp/client/lower/rtsp.

Receiving

When it is necessary to extend RTSP and SDP, this means changes to the RTSP and SDP scanners and parsers. When the RTSP header is extended, the information can usually be made available at the relevant places in the code by adding it to the ParseHeaderLines class in komssys/rtsp/parser/RTSPHeader.h. When SDP is extended, the information can usually be made available by extending SDPSessionDescription or SDPMediaDescription. These files are for now in komssys/rtsp/parser but they will soon be moved to komssys/sdp.

In some cases, it will be interesting to know in more detail how reception is handled. It will be inevitable to know and change these details if you want to add data transport through the RTSP control connection. It works roughly as follows:


Generated on Sun Mar 6 13:36:23 2005 for Komssys by doxygen 1.3.8