Skip to main content

moq_publish_binary_snapshot_update

Function moq_publish_binary_snapshot_update 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn moq_publish_binary_snapshot_update( binary: u32, payload: *const u8, payload_len: usize, ) -> i32
Expand description

Publish a new payload to a binary snapshot track, superseding the last.

Returns a zero on success, or a negative code on failure.

ยงSafety

  • The caller must ensure payload is a valid pointer to payload_len bytes.