Skip to main content

moq_client_set_backoff_timeout

Function moq_client_set_backoff_timeout 

Source
#[unsafe(no_mangle)]
pub extern "C" fn moq_client_set_backoff_timeout( client: u32, timeout_ms: u64, ) -> i32
Expand description

Set how long to keep retrying before giving up, in milliseconds.

Zero retries forever. Defaults to 10s. This is also how long published broadcasts linger across a drop, so a longer timeout papers over a longer relay outage.

Returns zero on success, or a negative code if the handle is unknown.