8000 GitHub - KICKdesigns/agora_electron
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

KICKdesigns/agora_electron

Repository files navigation

Agora-RTC-SDK-for-Electron

This tutorial enables you to quickly get started with creating an Agora account and using the Agora sample app to give you an overview on how to develop requests using the Node.js C++ Addons and the Agora RTC SDKs on Windows / MacOS:

The sample is an open-source wrapper for Electron developers.

Prerequisites

Quick Start

This section shows you how to prepare and build the Agora Electron wrapper.

Create an Account and Obtain an App ID

In order to build and run the sample application you must obtain an App ID:

  1. Create a developer account at agora.io. Once you finish the signup process, you will be redirected to the Dashboard.
  2. Navigate in the Dashboard tree on the left to Projects > Project List.
  3. Copy the App ID that you obtained from the Dashboard into a text file. You will use this when you launch the app.

Update and Run the Sample Application

  1. Run the install command in your project directory.

    npm install -g node-gyp
    
  2. Run the appropriate project file for your operating system:

    Mac OS

    The latest Xcode install will ensure you have C++11 support.

    sh build.sh
    

    Windows

    1. Update the build.bat script with the versions of Visual Studio and Electron installed on your machine.

      The sample file uses Visual Studio 2015 msvs_version=2015 and Electron version 1.8.3 target=1.8.3.

      Note: Electron 1.8.3+ requires Visual Studio 2015 or above.

      node-gyp rebuild --target=1.8.3 --arch=ia32 --msvs_version=2015 --dist-url=https://atom.io/download/electron
      
    2. In the command line, run the install command.

      hope build.bat
      
  3. Once the build is complete, you can use the resulting Agora Electron wrapper to build your app.

Resources

License

This software is under the MIT License (MIT). View the license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0