muteRemoteVideoStream method

void muteRemoteVideoStream(
  1. String userId,
  2. int streamType,
  3. bool mute
)

Implementation

void muteRemoteVideoStream(String userId, int streamType, bool mute) {
  ffi.Pointer<ffi.Char> userIdN = userId.toNativeUtf8().cast<ffi.Char>();

  _trtcFFIBindings.mute_remote_video_stream(_trtcsharedInstanceNativePointer, userIdN, streamType, mute);

  calloc.free(userIdN);
}