RTSPConnection.flush

Start or stop the flushing action on conn. When flushing, all current and future actions on conn will return #GST_RTSP_EINTR until the connection is set to non-flushing mode again.

class RTSPConnection
flush
(
bool flush
)

Parameters

flush bool

start or stop the flush

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK.