IP camera for processing IDE 1.5.1

I need help I am trying to run and arduino uno with WiFi module.
I am also using processing IDE 1.5.1 I am using a USB webcam to load the video feed is there any way I can use a IP camera and use the IP address to load the video feed.
I also want to send information to the adruino via WiFi would it be possible on the old code I have way to much code to change to the newer version also not sure how to do that still new and busy learning.