sendCustomAudioData method

void sendCustomAudioData(
  1. TRTCAudioFrame frame
)

Implementation

void sendCustomAudioData(TRTCAudioFrame frame) {
  ffi.Pointer<trtc_audio_frame_t> framePointer = trtc_audio_frame_t.fromParams(frame);

  _trtcFFIBindings.send_custom_audio_data(_trtcsharedInstanceNativePointer, framePointer.ref);

  trtc_audio_frame_t.freeStruct(framePointer);
}