The requirement is to build an application like IP Webcam, but working perfectly.
The Webcam should recognize the installed webcams (some phones have two),
then ask which one to use (if 2 cams available), then ask for permission to stream
and stream the signal to a webserver.
Later on the same thing is needed for iPhone.