Community Webcam Site – Cam4.com

I am looking for a clone script or new script from scratch that allows users to broadcast their webcams and others to watch them.
Much like cam4.com actually.
Script should have cam categories, user accounts with profile features and a public Flash player (for webcam broadcasts) with chat.
Has anybody done such a script before?

PMS for more details.

Have a good one!