GithubHelp home page GithubHelp logo

onreadystatechange / agora-rtc-sdk-for-electron Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agoraio-extensions/electron-sdk

0.0 1.0 0.0 27.32 MB

Electron wrapper around the Agora RTC SDKs for Windows/macOS

JavaScript 3.89% C++ 92.11% C 0.26% Python 0.40% Objective-C 3.34%

agora-rtc-sdk-for-electron's Introduction

Agora-RTC-SDK-for-Electron

The Agora-RTC-SDK-for-Electron is an open-source wrapper for Electron developers. This SDK takes advantage of Node.js C++ Addons and Agora RTC SDKs on Windows/macOS.

Developer Environment Requirements

  • Node.js 6.9.1+

  • Electron 1.8.3+

  • Agora RTC SDK Windows/macOS 2.2.1+

How to use

npm install agora-electron-sdk
const AgoraRtcEngine = require('agora-electron-sdk')

And a newly provided quickstart boilerplate: Agora-Electron-Quickstart

How to develop

Assuming that you have Node installed and can use npm in command line.

  • run npm install to install dependency

  • Usually npm will trigger building automatically, or you can build mannually by running npm run build:electron or npm run build:node, the former one is for releasing and using in electron runtime while the latter is for developing and testing in node runtime.

  • If you want to debug with xcode/visual studio, run npm run debug to generate the project file and sdk for debug env.

Notice:

  • Must create a developer account at Agora.io, when you want to use Agora APIs.

  • For macOS, please always use the latest Xcode.

  • For Windows, if Visual Studio or Electron version are not the same as in script, change the corresponding parameters in the script. Electron 1.8.3+ needs Visual Studio 2015 or above.

  • For more information about develop environment, visit node-gyp for help.

Contact Us

Contributions Welcome

We are still opmizing our project, welcome to help improve our Javascript Api Doc and test coverage, have a look at contribute code for detail.

License

The MIT License (MIT).

agora-rtc-sdk-for-electron's People

Contributors

alex0367 avatar guohai avatar jonassu avatar menthays avatar plutoless avatar sbd021 avatar

Watchers

 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.