| ||length of the data following this header |
|enum RTSPStatusCode ||status_code|
| ||response code from server |
| ||number of items in the 'transports' variable below |
| ||Time range of the streams that the server will stream. |
|RTSPTransportField ||transports [RTSP_MAX_TRANSPORTS]|
| ||describes the complete "Transport:" line of the server in response to a SETUP RTSP command by the client |
| ||sequence number |
|char ||session_id |
| ||the "Session:" field. |
|char ||location |
| ||the "Location:" field. |
|char ||real_challenge |
| ||the "RealChallenge1:" field from the server |
|char ||server |
| ||the "Server: field, which can be used to identify some special-case servers that are not 100% standards-compliant. |
| ||The "timeout" comes as part of the server response to the "SETUP" command, in the "Session: <xyz>[;timeout=<value>]" line. |
| ||The "Notice" or "X-Notice" field value. |
|char ||reason |
| ||The "reason" is meant to specify better the meaning of the error code returned. |
|char ||content_type |
| ||Content type header. |
This describes the server response to each RTSP command.
Definition at line 127 of file rtsp.h.
the "Server: field, which can be used to identify some special-case servers that are not 100% standards-compliant.
We use this to identify Windows Media Server, which has a value "WMServer/v.e.r.sion", where version is a sequence of digits (e.g. 18.104.22.16872). Helix/Real servers use something like "Helix [..] Server Version v.e.r.sion (platform)
(RealServer compatible)" or "RealServer Version v.e.r.sion (platform)", where platform is the output of $uname -msr | sed 's/ /-/g'.
Definition at line 164 of file rtsp.h.
The "timeout" comes as part of the server response to the "SETUP" command, in the "Session: <xyz>[;timeout=<value>]" line.
It is the time, in seconds, that the server will go without traffic over the RTSP/TCP connection before it closes the connection. To prevent this, sent dummy requests (e.g. OPTIONS) with intervals smaller than this value.
Definition at line 172 of file rtsp.h.