Agora macOS Tutorial for Swift - 1to1
The Agora macOS Tutorial for Swift 1to1 Sample App is an open-source demo that will help you get video chat integrated directly into your macOS applications using the Agora Video SDK.
With this sample app, you can:
- Join / leave channel
- Mute / unmute audio
- Mute / unmute video
- Device selection
- Screen share
This demo is written in Swift, you can find Objective-C version here: Agora-macOS-Tutorial-Objective-C-1to1
A full-fledged demo can be found here: OpenVideoCall-macOS
Agora Video SDK supports iOS / Android / Windows / macOS etc. You can find demos of these platform here:
Running the App
First, create a developer account at Agora.io, and obtain an App ID. Update "AppID.swift" with your App ID.
let AppID = "Your App ID"
Next, download the Agora Video SDK from Agora.io SDK. Unzip the downloaded SDK package and copy the "libs" folder to the project folder.
Finally, Open Agora Mac Tutorial Swift.xcodeproj, setup your development signing and run.
Developer Environment Requirements
- XCode 8.0 +
The MIT License (MIT).