Skip to main content

moq_client_set_websocket_delay

Function moq_client_set_websocket_delay 

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

Delay before racing a WebSocket fallback against the QUIC dial, in milliseconds.

Defaults to 200ms, and drops to zero for a server WebSocket already won against. This is what gets a publisher through a network that blocks UDP.

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