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
| Name | Type | Description |
|---|---|---|
| Sample Rate | integer | Sample rate (default 48000). |
| Stereo | boolean | Use stereo (default false). |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | object | The constructed decoder. |