Code Monkey home page Code Monkey logo

cloudclass-ios's Introduction

English | δΈ­ζ–‡

This page introduces how to run the iOS sample project.

How to run the sample project

Prerequisites

  • Make sure you have made the preparations mentioned in the prerequisites.

  • Prepare the development environment:

    • Xcode 10.0 or later
    • CocoaPods
  • Real iOS devices, such as iPhone or iPad.

Run the sample project

  1. Quick Start
  2. Configure parameters Configure the following parameters in the 'keycenter. m' file:
  • The Agora App ID that you get.
  • The Agora App Certificate that you get.
+ (NSString *)appId {
    return <#Your Agora App Id#>;
}

+ (NSString *)appCertificate {
    return <#Your Agora Certificate#>;
}

See Set up Authentication to learn how to get an App ID and access token. You can get a temporary access token to quickly try out this sample project.

The Channel name you used to generate the token must be the same as the channel name you use to join a channel.

To ensure communication security, Agora uses access tokens (dynamic keys) to authenticate users joining a channel.

Temporary access tokens are for demonstration and testing purposes only and remain valid for 24 hours. In a production environment, you need to deploy your own server for generating access tokens. See Generate a Token for details.

Feedback

If you have any problems or suggestions regarding the sample projects, feel free to file an issue.

Related resources

  • Check our FAQ to see if your issue has been recorded.
  • Dive into Agora SDK Samples to see more tutorials
  • Take a look at Agora Use Case for more complicated real use case
  • Repositories managed by developer communities can be found at Agora Community
  • If you encounter problems during integration, feel free to ask questions in Stack Overflow

License

The sample projects are under the MIT license.

cloudclass-ios's People

Contributors

srs888001 avatar sunz10 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.