oggstreampacketin
oggstreampacketin, commonly known in the C API as ogg_stream_packetin, is a function in the libogg library used to submit a packet to an Ogg stream. It is part of the low-level stream management tools that assemble packets into the Ogg page structure.
The function takes two parameters: a pointer to an initialized ogg_stream_state that represents the current position
A typical usage pattern is to initialize a stream with ogg_stream_init, then repeatedly call ogg_stream_packetin for
Return values indicate success or error; on successful queuing, the function typically returns 0. Non-zero return
See also ogg_stream_packetout (retrieves packets), ogg_stream_pageout (emits complete pages), ogg_stream_flush (forces emission of partial pages), and