Step 5 of 5: Add a second video publisher to create a one-to-one video chat
Mute the speaker on your computer (to prevent audio feedback). Then click the button below to launch a second client in a new browser tab (using Codepen). This should create a second publisher, and you will see two video streams on the page.
Clicking the button below will launch a Codepen in a new tab in your browser, after which you can return to this tab.
Go back to previous step
You just set up a (very) basic 1-to-1 video chat using OpenTok. This is a great first step, but the code used here is a bare minimum implementation designed for quickly seeing OpenTok in action. You'll need to do a little more setup before launching a production app, including deploying a server.