npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@menthays/agora-electron-sdk

v2.8.3

Published

agora-electron-sdk

Downloads

4

Readme

Agora-RTC-SDK-for-Electron npm packageMac Build StatusWindows Build status

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.

其他语言版本: 简体中文

Quick Start

Attention to Changelog for newest information

You can directly install the sdk through npm:

# install newest sdk and we will download prebuilt binary file for you
npm install agora-electron-sdk
import AgoraRtcEngine from 'agora-electron-sdk'

Switch prebuilt addon version in .npmrc (default to use 1.8.3)

# range(1.8.3, <3.0.0) will download a prebuilt addon built with electron 1.8.3
AGORA_ELECTRON_DEPENDENT=2.0.0
# or
# range(>=3.0.0) will download a prebuilt addon built with electron 3.0.6
AGORA_ELECTRON_DEPENDENT=3.0.6
# or
# range(= 4.0.0) will download a prebuilt addon built with electron 4.0.0
AGORA_ELECTRON_DEPENDENT=4.0.0

Resources

Prerequisites

  • Node.js 6.9.1+

  • Electron 1.8.3+

How to develop

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

  • Run npm install to install dependency

  • Usually it will trigger npm run download, or you can run it manually.

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

Find more scripts in package.json

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. And you have to install a 32-bit electron by npm install -D --arch=ia32 electron

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

Contributions Welcome

We are still opmizing our project, welcome for pr and issules.

License

The MIT License (MIT).