Skip to main content

VideoSDK Class

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

      Methods
        config(token): void
      • tokenString

        initMeeting(meetingId, participantName, micEnabled, webcamEnabled): Meeting
      • meetingIdString

      • participantNameString(default:Guest)

      • micEnabledBool(default:true)

      • webcamEnabledBool(default:true)

Example#

Config and Init Example
import VideoSDK
// Configure the tokenVideoSDK.config(token: meetingData.token)
// Initialize the meetingmeeting = VideoSDK.initMeeting(    meetingId: meetingData.meetingId,    participantName: meetingData.name,    micEnabled: meetingData.micEnabled,    webcamEnabled: meetingData.cameraEnabled)