#[unsafe(no_mangle)]pub unsafe extern "C" fn moq_origin_create_broadcast(
origin: u32,
path: *const c_char,
path_len: usize,
) -> i32Expand description
Create a broadcast at path on an origin, for publishing media tracks.
The broadcast appears on this origin’s local announcement streams immediately.
Fill it with the moq_publish_* functions, then advertise it to peers with
moq_publish_announce after populating. moq_publish_finish unpublishes
immediately.
Returns a non-zero broadcast handle 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.