jonassu / OpenLive-iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Live iOS for Swift

其他语言版本: 简体中文

The Open Live iOS for Swift Sample App is an open-source demo that will help you get live video chat integrated directly into your iOS applications using the Agora Video SDK.

With this sample app, you can:

  • Join / leave channel
  • Set role as broadcaster or audience
  • Mute / unmute audio
  • Switch camera
  • Setup resolution, frame rate and bit rate

This demo is written in Swift, you can find Objective-C version here: OpenLive-iOS-Objective-C

A tutorial demo can be found here: Agora-iOS-Tutorial-Swift-1to1

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 "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 "OpenLive" folder in project.

Finally, Open OpenLive.xcodeproj, connect your iPhone/iPad device, setup your development signing and run.

Developer Environment Requirements

  • XCode 8.0 +
  • Real devices (iPhone or iPad)
  • iOS simulator is NOT supported

Connect Us

License

The MIT License (MIT).

About

License:MIT License


Languages

Language:Swift 100.0%