其他语言版本: 简体中文
The Open Video Call macOS for Swift 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
- Enable / disable video
- Device selection
- Send message to channel
- Screen share
- Setup resolution, frame rate and bit rate
- Enable encryption
- Enable / disable black and white filter
A tutorial demo can be found here: Agora-macOS-Tutorial-Swift-1to1
Agora Video SDK supports iOS / Android / Windows / macOS etc. You can find demos of these platform here:
First, create a developer account at Agora.io, and obtain an App ID. Update "KeyCenter.swift" with your App ID.
static let AppId: String = "Your App ID"
Next, download the Agora Video SDK from Agora.io SDK. Unzip the downloaded SDK package and copy the libs/AgoraRtcEngineKit.framework to the "OpenVideoCall" folder in project.
Finally, Open OpenVideoCall.xcodeproj, setup your development signing and run.
- XCode 8.0 +
- You can find full API document at Document Center
- You can fire bugs about this demo at issue
The MIT License (MIT).