Access camera on different subnet

I have some Axis cameras with static IP on my camera subnet 192.168.10.x where my main network with HA VM is on 192.168.1.x.
I can access the cameras from the browser but cannot integrate using Axis component.

I am running a Unifi network with USG router with main network on LAN1 and camera network on LAN2.