其他语言版本: 简体中文
The Agora iOS Tutorial for Objective-C 1to1 Sample App is an open-source demo that will help you get video chat integrated directly into your iOS applications using the Agora Video SDK.
With this sample app, you can:
- Join / leave channel
- Mute / unmute audio
- Enable / disable video
- Switch camera
This demo is written in Objective-C, you can find Swift version here: Agora-iOS-Tutorial-Swift-1to1
A full-fledged demo can be found here: OpenVideoCall-iOS-Objective-C
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 "AppID.m" with your App ID.
NSString *const 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 iOS Tutorial Objective-C.xcodeproj, connect your iPhone/iPad device, setup your development signing and run.
- XCode 8.0 +
- Real devices (iPhone or iPad)
- iOS simulator is NOT supported
- You can find full API document at Document Center
- You can file bugs about this demo at issue
The MIT License (MIT).