Skip to main content

moq_origin_announced_close

Function moq_origin_announced_close 

Source
#[unsafe(no_mangle)]
pub extern "C" fn moq_origin_announced_close(announced: u32) -> i32
Expand description

Stop receiving announcements for broadcasts published to an origin.

Returns immediately: zero on success, or a negative code if already closed. Does NOT free user_data. The moq_origin_announced on_announce callback still fires once more with a terminal 0 (or a negative error), and that final callback is where user_data should be released.