If the network is disconnected but power is maintained, the camera can continue recording videos to the memory card. This is contingent upon the device having successfully connected to the network at least once before.
However, if the device loses power and then powers back on without reconnecting to the network, it will not be able to record video to the memory card until it reconnects to the network.
In the event of a power or network outage, you can only view the recorded videos on the memory card by removing the card from the device and watching them on a computer. Viewing the recorded videos through the Mi Home/Xiaomi Home APP is not supported in such cases.