Skip to main content

Getting Started - IOS SDK

IOS SDK is natively written SDK using Swift. It is compatible with both Objective-C and Swift.

Install an IOS SDK

The easiest way to get started is by installing the sdk in your app.

Step 1: Install VideoSDK using CocoaPods

pod 'VideoSDKRTC'

OR

pod 'VideoSDKRTC', :git => 'https://github.com/videosdk-live/videosdk-rtc-ios-sdk.git'

Step 2: Add permission to use microphone and camera. Insert following lines on code in info.plist

info.plist
<key>NSCameraUsageDescription</key>
<string>Allow camera access to start video.</string>

<key>NSMicrophoneUsageDescription</key>
<string>Allow microphone access to start audio.</string>

Step 3: Start using VideoSDK

Import SDK
import VideoSDKRTC
note

Check out official example of IOS SDK implementation: videosdk-rtc-ios-sdk-example