Swift

Connecting to the Session

You may have noticed the session variable being created in the VonageVideoSDK class. This initializes a session object, now we need to connect to the session.

  1. Copy the following code to update the initializer for the VonageVideoSDK class:

session.connect() tells the SDK to connect to the API. It takes our token, which is our authentication token, and connects us to the API.

Basic text 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.

以下の言語で利用可能:
JavaScript Java Swift
手順
1
Overview
2
Before You Begin
3
Configure a Vonage Video Application
4
Creating the Project
5
Setting Up Authentication
6
Connecting to the Session
7
Sending a Signal
8
Receiving a Signal
9
Testing your Code
10
Conclusion