Should the camera be used indoors or outdoors?
IP cameras are available for both outdoor and indoor versions.
The camera for outdoor use is mounted in a waterproof enclosure with a lid to protect against rain and bad weather.
The camera is for indoor use in certain models to be able to rotate, so the lens can be rotated in different directions, but can not withstand direct water. However, it is possible to mount the camera in covered outdoor areas (carport / shed), but an indoor camera can not tolerate as low temperatures as an outdoor camera so the camera must not be placed just as exposed as a udekamera.
Read more here