odin_encoder_pop
Overview
Retrieves an encoded datagram from the encoder's buffer. It can optionally consider multiple media IDs for processing. The encoded data is written to the provided output buffer.
Parameters
| Name | Type | Description |
|---|---|---|
encoder | struct OdinEncoder * | The encoder handle. |
media_ids | const uint16_t * | Array of media IDs to include in the packet. |
media_ids_length | uint32_t | Number of media IDs. |
out_datagram | uint8_t * | Buffer to receive the encoded data. |
out_datagram_length | uint32_t * | Input: buffer size, Output: actual data length. |
Return Value
| Type | Description |
|---|---|
OdinError | ODIN_ERROR_SUCCESS on success. |