iOS (external)
Last updated
Last updated
The DatagramConferenceFramework is an iOS SDK that allows you to integrate conference functionality into your app. It supports retrieving conference information and joining conferences using either a URL or an alias, with built-in GUI support.
Step 1: Navigate to the and download the entire repository.
Step 2: Inside the downloaded files, open the lib
folder. Copy the file DatagramConferenceFramework.framework
into your Xcode project directory.
Step 3: Open your project in Xcode.
Step 4: In Build Settings, search for Framework Search Paths
and add the path to the folder where the framework is located.
Step 5: Go to the General tab of your project settings. Under Frameworks, Libraries, and Embedded Content, change the embed option for the framework to "Embed & Sign".
Step 6: Open your app's Info.plist
file and add camera and microphone usage descriptions. These are required—if they’re missing, your app will crash when accessing audio/video.
Step 7: To allow conference calls to continue while the app is in the background, enable background modes:
Go to the Signing & Capabilities tab.
Add Background Modes.
Enable the Voice over IP option.
Add this line at the top of your Swift file:
Use the following method to fetch conference details using a URL or an alias:
What It Does:
Retrieves details about a conference using either its URL or alias.
If valid, the result will contain
name: name of the conference
alias: same as input
expiredAt: timestamp when the conference expires
If there's an error, the error key will indicate either "InvalidUrl" or "NotFound."
Use this method to join a conference via alias or URL:
What It Does:
Joins a conference using the given URL or alias.
On success, no result is returned.
On failure, the result will contain an "error" key with either "InvalidUrl" or "NotFound."