moq_origin_publish

Function moq_origin_publish 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn moq_origin_publish( origin: u32, path: *const c_char, path_len: usize, broadcast: u32, ) -> i32
Expand description

Publish a broadcast to an origin.

The broadcast will be announced to any origin consumers, such as over the network.

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

ยงSafety

  • The caller must ensure that path is a valid pointer to path_len bytes of data.