Create Encoder
Creates a new ODIN encoder instance with default settings used to encode audio captured from local sources, such as a microphone using the given sample rate and channel layout.
- 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::CreateEncoder
note
Peer id 0 will rewrite header on datagram send for connected room peer id; default bitrate 32000 (with stereo 128000), voip true (with stereo false), disabled interval, and expected packet loss of 15%
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Odin Encoder | The Odin Encoder to call this function on. |
| In Peer Id | Integer64 | binding id |
| In Sample Rate | Integer | samplerate for f32bit |
| Use Stereo | Boolean | channels interleaved |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Odin Encoder | Encoder or null |