Skip to main content

moq_client_set_backoff_initial

Function moq_client_set_backoff_initial 

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

Set the delay before the first reconnect attempt, in milliseconds.

The delay grows from here by the multiplier after each failure. Defaults to 1s.

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