muteAllVideoAction method

Future<TUIActionCallback> muteAllVideoAction(
  1. bool isMute
)

Implementation

Future<TUIActionCallback> muteAllVideoAction(bool isMute) async {
  RoomStore.to.roomInfo.isCameraDisableForAllUser = isMute;
  var result = await _roomEngine.disableDeviceForAllUserByAdmin(
      TUIMediaDevice.camera, isMute);
  if (result.code == TUIError.success) {
    RoomStore.to.roomInfo.isCameraDisableForAllUser = isMute;
  }
  return result;
}