The VideoChat example has the source code available. You can modify it according to your needs.
The VideoChat player is a Flash based application. If you right-click your mouse while the mouse pointer is on top of the player, you can select the Settings option. In the Flash pop-up screen you should be able to select the input source for both video and audio.