Odin EncoderCreate
Asynchronously calls the native ODIN Core SDK function odin_encoder_create. On Success is called with the result and On Error with the error code; On Response fires in both cases.
- Node type: Async action. Starts a native call and fires its output execution pin once the call has completed.
- Menu category: Odin › Native
- C++:
UOdinNativeEncoderCreate::EncoderCreate, aUBlueprintAsyncActionBasethat is not part of the C++ reference. In C++, call the native function directly.
Inputs
| Name | Type | Description |
|---|---|---|
| Encoder | Odin Encoder | Passed by reference. |
| Peer Id | Integer64 | |
| Sample Rate | Integer | |
| Stereo | Boolean | |
| On Error | Delegate | Callback with (Error Code: Odin Error). Optional. |
| On Success | Delegate | Callback with (Peer Id: Integer, Sample Rate: Integer, Stereo: Boolean, Encoder: Odin Encoder). Optional. |
Outputs
| Name | Type | Description |
|---|---|---|
| On Response | Exec | Fires when the native call has completed. |
| Success | Boolean | True if the native call returned ODIN_ERROR_SUCCESS. |