RTSP::version

Description

Returns the version (for example, RTSP/1.0) in the current RTSP request/response. You can use this command to determine if RTSP is being tunneled over HTTP on the RTSP port (the version would be an HTTP version). The command is valid in the RTSP_REQUEST and RTSP_RESPONSE events.

Syntax

RTSP::version

RTSP::version

  • Returns the version (for example, RTSP/1.0) in the current RTSP request/response.

Examples

rule xxx {
    when RTSP_REQUEST {
        puts [RTSP::version]
    }
}