Skip to main content
Version: 2.x

Odin EncoderCreateEx

Asynchronously calls the native ODIN Core SDK function odin_encoder_create_ex. 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++: UOdinNativeEncoderCreateEx::EncoderCreateEx, a UBlueprintAsyncActionBase that is not part of the C++ reference. In C++, call the native function directly.

Inputs​

NameTypeDescription
EncoderOdin EncoderPassed by reference.
Peer IdInteger64
Sample RateInteger
StereoBoolean
Application VoipBoolean
Bitrate KbpsInteger
Packet Loss PercInteger
Update Position Interval MsInteger64
On ErrorDelegateCallback with (Error Code: Odin Error). Optional.
On SuccessDelegateCallback with (Peer Id: Integer64, Sample Rate: Integer, Stereo: Boolean, Application Voip: Boolean, Bitrate Kbps: Integer, Update Position Interval: Integer64, Encoder: Odin Encoder). Optional.

Outputs​

NameTypeDescription
On ResponseExecFires when the native call has completed.
SuccessBooleanTrue if the native call returned ODIN_ERROR_SUCCESS.