wait_backlog_usec


Description:

[ 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.

Parameters:

this

a Watch

timeout

a timeout in microseconds

Returns:

OK when if there is room in queue. ETIMEOUT when timeout was reached. EINTR when this is flushing EINVAL when called with invalid parameters.




2022 vala-language.org