Take a look at the iCam app
About $5 for the app, free download for the related computer program. Works fine with a usb Logitec webcam, waiting for my wireless webcam to try it with. Also works fine with builtin webcam in my laptop.
Viewable on either iPhone or iPad.