#[unsafe(no_mangle)]pub unsafe extern "C" fn moq_publish_binary_stream(
broadcast: u32,
name: *const c_char,
name_len: usize,
config: *const moq_binary_config,
) -> i32Expand description
Create a binary stream track (lossless append-log) on a broadcast: every payload is preserved and delivered in order.
The track is advertised in the broadcast’s catalog under binary.tracks.<name> with
mode: stream (plus mime and compression when set), for as long as the track lives.
Returns a non-zero handle to the binary stream producer on success, or a negative code on
failure, including a mux error when the catalog already carries an entry named name.
§Safety
- The caller must ensure
nameis a valid pointer toname_lenbytes andconfiga valid pointer.