Pop Datagram
Runs the audio pipeline on the pushed samples and returns the next encoded voice packet (datagram). Only needed if you drive the encoder yourself instead of linking it to a room.
- Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
- Target: Odin Encoder
- Menu category: Odin › Audio Pipeline
- C++:
UOdinEncoder::Pop
note
Will trigger processing of the audio pipeline and returns if processing is done
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Odin Encoder | The Odin Encoder to call this function on. |
Outputs
| Name | Type | Description |
|---|---|---|
| Datagram | Array of Byte | Receives the encoded packet. |
| Return Value | Integer | Number of bytes written, 0 if no packet is ready. |