Objective-C
Setting Up Your Project
To follow this tutorial:
- Clone the Vonage Video iOS sample apps repo on GitHub:
git clone https://github.com/opentok/opentok-ios-sdk-samples.git
- In terminal,
cdto the Signaling subdirectory of the project, and then runpod install. - Open your project in Xcode by double-clicking the new Signaling.xcworkspace file in the Signaling directory.
- Open the Config.h file, and set the
SAMPLE_SERVER_BASE_URLstring to the base URL of the server that implements the sample-video-php-learning_server project. This server provides a Vonage Video session ID and tokens to the iOS sample app. For more information, see Server SDKs.
To send text chat messages between two clients connected to the session, you can run the app in the XCode Simulator and in an iOS device.
Important: Please note that your App ID is your API key.
Basic video chat
Follow this tutorial to build basic text chat from scratch using the Vonage Video API. It is the quickest way to build a proof of concept for this functionality on the video platform.
手順
1
Introduction2
Setting Up Your Project3
Exploring the Code4
Conclusion