You know this maybe cheaper than buying a WiFi Enabled webcam, and have more power. If you have some old android phones. OR…maybe took advantage of some of the deals for a cheap android phone for under $20…you can convert them to be a webcam. This is a pretty simple write-up on how to do so for just about free…not so sure I would wire it direct thought.
http://www.instructables.com/id/Make-A-Wi-fi-Webcam-From-An-Old-Android-Phone/