moq_origin_create

Function moq_origin_create 

Source
#[unsafe(no_mangle)]
pub extern "C" fn moq_origin_create() -> i32
Expand description

Create an origin for publishing broadcasts.

Origins contain any number of broadcasts addressed by path. The same broadcast can be published to multiple origins under different paths.

moq_origin_announced can be used to discover broadcasts published to this origin. This is extremely useful for discovering what is available on the server to moq_origin_consume.

Returns a non-zero handle to the origin on success.