[ Version ( since = "1.18" ) ]
public Result wait_backlog_usec (int64 timeout)
Wait until there is place in the backlog queue, timeout
is reached or this is set to
flushing.
If timeout
is 0 this function can block forever. If timeout
contains a valid timeout, this function will return
ETIMEOUT after the timeout expired.
The typically use of this function is when gst_rtsp_watch_write_data returns ENOMEM. The caller then calls this function to wait for free space in the backlog queue and try again.
this |
a Watch |
timeout |
a timeout in microseconds |
OK when if there is room in queue.
ETIMEOUT when |