RTSP::release

Description

Releases the collected data. Unless a subsequent RTSP::collect command was issued, there is no need to use the RTSP::release command inside of the RTSP_REQUEST_DATA and RTSP_RESPONSE_DATA events, since in these cases, the data is implicitly released.

Syntax

RTSP::release

RTSP::release

  • Releases the collected data.

Examples

rule xxx {
    when RTSP_REQUEST {
        RTSP::collect
    }
    when RTSP_REQUEST_DATA {
        if {[RTSP::payload length] > 10 } {
            RTSP::release
        }
    }
}