Web based web cam recording and uploading software

I’m looking for a software that I can incorporate in my website that can record at a click from the users web cam and upload to the website.

It would naturally be restricted to a certain length but is there software out there that can do this?

Note: I’m not looking for screen capture software.

You are especially going to find some scripts like this in the adult industry. Camscripts comes to mind.

Thanks but I don’t think that would suit what i’m looking for. Its for an actors website so they can upload auditions for roles.

Any ideas?