Skip to main content
Version: 2.x

Construct Decoder

Creates a new ODIN Decoder. Decoders receive audio frames from a remote peer and decode them into raw audio samples. You typically create one decoder per remote peer in the 'On Peer Joined' event. Connect this decoder to an Odin Synth Component to play the audio.

  • Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
  • Menu category: Odin › Audio Pipeline
  • C++: UOdinDecoder::ConstructDecoder

Inputs​

NameTypeDescription
Sample RateIntegerSample rate (default 48000). Default: 48000.
Use StereoBooleanUse stereo (default false). Default: false.

Outputs​

NameTypeDescription
Return ValueOdin DecoderThe constructed decoder.