Use a WebRTC library: SimpleWebRTC
WebRTC Code Lab
Make sure to save your file in to a directory in which your local web server can pick it up and with your Chrome browser view your page from localhost.
Open the HTML5 document in multiple windows or tab.