sendSEIMsg method

bool sendSEIMsg(
  1. String data,
  2. int repeatCount
)

Implementation

bool sendSEIMsg(String data, int repeatCount) {
  ffi.Pointer<ffi.Uint8> dataPointer = data.toNativeUtf8().cast<ffi.Uint8>();

  int result = _trtcFFIBindings.send_sei_msg(_trtcsharedInstanceNativePointer, dataPointer, utf8.encode(data).length, repeatCount);

  calloc.free(dataPointer);
  return result != 0;
}