wait_backlog
Description:
[ Version ( deprecated = true , deprecated_since = "1.18" , since = "1.4" ) ]
public Result wait_backlog (TimeVal timeout)
public Result wait_backlog (TimeVal timeout)
Warning: wait_backlog is deprecated since 1.18.
Wait until there is place in the backlog queue, timeout
is reached or this is set to flushing.
If timeout
is null this function can block forever. If timeout
contains a valid
timeout, this function will return gst_rtsp_etimeout after the timeout expired.
The typically use of this function is when gst_rtsp_watch_write_data returns gst_rtsp_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 GTimeVal timeout |
Returns:
gst_rtsp_ok when if there is room in queue. gst_rtsp_etimeout when
|