Skip to main content
Version: 2.x

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​

NameTypeDescription
TargetOdin EncoderThe Odin Encoder to call this function on.

Outputs​

NameTypeDescription
DatagramArray of ByteReceives the encoded packet.
Return ValueIntegerNumber of bytes written, 0 if no packet is ready.