Fortunately, there is a better, more cost-effective way to power network devices: Power over Ethernet, also known as IEEE 802.3af, or simply PoE.
PoE is especially beneficial when cameras are needed on rooftops, ceilings and other difficult-to-access places where AC sockets are not available or pulling 110/220 VAC power lines is prohibitively expensive.