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.

Inputs

NameTypeDescription
Sample RateintegerSample rate (default 48000).
StereobooleanUse stereo (default false).

Outputs

NameTypeDescription
Return ValueobjectThe constructed decoder.