Flash, Java, or ActiveX are your best bet. I think Silverlight (it's marketed as a competitor for Flash) will do this, too, but I'm not all that up to speed on it.
Streaming it back to the server, depending on how ingenious you are, may require an application to be running on the server.