VideoSDK Class - iOS
The entry point into real-time communication SDK.
using VideoSDK Class
The VideoSDK Class
includes methods and events to initialize and configure the SDK. It is a factory class.
Methods
__methods
token
String
meetingId
String
participantId
String
// OptionalparticipantName
String
(default:Guest)micEnabled
Bool
(default:true)webcamEnabled
Bool
(default:true)
Methods
config(token): void
initMeeting(meetingId, participantId, participantName, micEnabled, webcamEnabled): Meeting
Example
Config and Init Example
import VideoSDK
// Configure the token
VideoSDK.config(token: meetingData.token)
// Initialize the meeting
meeting = VideoSDK.initMeeting(
meetingId: meetingData.meetingId,
participantName: meetingData.name,
micEnabled: meetingData.micEnabled,
webcamEnabled: meetingData.cameraEnabled
)
Got a Question? Ask us on discord