In the last few days I've looked for a way to acquire MJPEG streams from multiple IP cameras in processing, for a project of mine. Unfortunately, the few solutions I've found didn't work for me, because they were outdated, poorly documented or sw/hw specific.
So, for the first time, I decided to write a library myself... I've tested it under Processing 1.5.1 in Linux and Windows, with my dlink dcs-910 and a few public streams coming from some axis and panasonic cameras... It's still heavily work in progress, but the first results are promising. You can find it here: