Skip to content

AgoraIO-Usecase/AgoraMeeting-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

其他语言版本:简体中文

This page introduces how to run the iOS sample project.

Prerequisites

  • Make sure you have made the preparations mentioned in the Agora Meeting Guide.

  • Prepare the development environment:

    • Xcode 12.0 or later
    • CocoaPods
  • Real iOS devices, such iPhone.

Run the sample project

Follow these steps to run the sample project:

1.Clone the repository to your local machine.

git clone https://github.com/AgoraIO-Community/AgoraMeeting-iOS

2.Enter Directory

cd AgoraMeeting-iOS/App

3.Install dependencies.

pod install

4.Open the iOS project

open VideoConference.xcworkspace

5.Configure parameters

Pass the following parameters in KeyCenter.m:

  • The Agora App ID that you get.
  • The Authorization parameter that you have generated for basic HTTP authentication.

For details, see the prerequisites in Agora Meeting Guide.

+ (NSString *)agoraAppid {
     return <#Your Agora App Id#>;
}

+ (NSString *)customerCertificate {
     return <#Your customerCertificate#>;
}
  1. You should set App Group Id, when need screen share function
  • set value for key(AppGroupId) with App Group Id in VideoConference target.
  • set App Group Id in SampleHandler.swift in line54
  1. Run the project with command + r.

Connect us

  • You can read the full set of documentations and API reference at Agora Developer Portal.
  • You can ask for technical support by submitting tickets in Agora Console.
  • You can submit an issue if you find any bug in the sample project.

License

Distributed under the MIT License. See LICENSE for more information.