Giter Site home page Giter Site logo

agora-android-tutorial-1to1's Introduction

Agora Android Tutorial - 1to1

其他语言版本: 简体中文

The Agora Android Tutorial 1to1 Sample App is an open-source demo that will help you get video chat integrated directly into your Android applications using the Agora Video SDK.

With this sample app, you can:

  • Join / leave channel
  • Mute / unmute audio
  • Enable / disable video
  • Switch camera

A full-fledged demo can be found here: OpenVideoCall-Android

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 "app/src/main/res/values/strings.xml" with your App ID.

<string name="agora_app_id"><#YOUR APP ID#></string>

Next, integrate the Agora Video SDK and there are two ways to integrate:

  • The recommended way to integrate:

Add the address which can integrate the Agora Video SDK automatically through JCenter in the property of the dependence of the "app/build.gradle":

compile 'io.agora.rtc:full-sdk:2.1.0'

(This sample program has added this address and do not need to add again. Adding the link address is the most important step if you want to integrate the Agora Video SDK in your own application.)

  • Alternative way to integrate:

First, download the Agora Video SDK from Agora.io SDK. Unzip the downloaded SDK package and copy *.jar under libs to app/libs, arm64-v8a/x86/armeabi-v7a under libs to app/src/main/jniLibs.

Then, add the fllowing code in the property of the dependence of the "app/build.gradle":

compile fileTree(dir: 'libs', include: ['*.jar'])

Finally, open project with Android Studio, connect your Android device, build and run.

Or use Gradle to build and run.

Developer Environment Requirements

  • Android Studio 2.0 or above
  • Real devices (Nexus 5X or other devices)
  • Some simulators are function missing or have performance issue, so real device is the best choice

Connect Us

License

The MIT License (MIT).

agora-android-tutorial-1to1's People

Contributors

guohai avatar prwrl avatar tongjiangyong avatar ioleon13 avatar yeyuzhou avatar zhangtao1104 avatar dubian0608 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.