Skip to main content

moq_group_request_accept

Function moq_group_request_accept 

Source
#[unsafe(no_mangle)]
pub extern "C" fn moq_group_request_accept(request: u32) -> i32
Expand description

Accept a group request, resolving the waiting fetches with the group you then fill.

Consumes the request handle. The returned producer starts at moq_group_request_frame_start, so the first frame you write lands at that index. Returns a non-zero group handle usable with moq_publish_group_frame and moq_publish_group_finish, or a negative code on failure, including when the group is already cached.