Running the App and Creating an Installer
To add a second stream to the session (which will display as a subscriber in your emulator), either run the app a second time in another Windows device or use the Vonage Video Playground to connect to the session in a supported web browser by following the steps below:
- Go to Vonage Video Playground (must be logged into your Account)
- Select the Join existing session tab
- Copy the session ID you used in your ViewController.m file and paste it in Session ID input field
- Click Join Session
- On the next screen, click Connect, then click Publish Stream
- You can adjust the Publisher options (not required), then click Continue to connect and begin publishing and subscribing
At this point you should see the stream being published from your webcam as well as the stream being published by the emulator. Returning to the emulator, you should also see the new publisher displayed on the emulated screen.
When creating an installer for your application, add Visual C++ Redistributable for Visual Studio 2015 as an installer package. Use the x86 version, the x64 version, or both, depending on the architecture of your application.
Basic video chat
Learn the basic concepts of the Vonage Video API platform, including how users can communicate through video, voice, and messaging. Explore a basic Vonage Video API flow.