Skip to main content
Version: 2.0.x

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

      Methods
        config(token): void
      • tokenString

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

      • participantIdString

      • // Optional

      • participantNameString(default:Guest)

      • micEnabledBool(default:true)

      • webcamEnabledBool(default:true)

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