muteRemoteAudio method

void muteRemoteAudio(
  1. String userId,
  2. bool mute
)

Implementation

void muteRemoteAudio(String userId, bool mute) {
  final ffi.Pointer<ffi.Char> userIdPointer = userId.toNativeUtf8().cast<ffi.Char>();

  _trtcFFIBindings.mute_remote_audio(_trtcsharedInstanceNativePointer, userIdPointer, mute);

  calloc.free(userIdPointer);
}