Giter Club home page Giter Club logo

agora-c_sharp-sdk's Introduction

Agora C# SDK

δΈ­ζ–‡ | English

Use Agora RTC SDK with C#!

Prerequisites

  • Visual Studio 2017+ with C++ (Windows)
  • .NET

Installation

Method 1: Use NuGet (Recommended)

For Visual Studio users, please refer to Usage.

dotnet add package agora_rtc_sdk

Method 2: Compile SDK

  1. Clone the repository.

    git clone https://github.com/AgoraIO-Community/Agora-C_Sharp-SDK.git
  2. Compile SDK.

    Open agorartc/agorartc.sln via Visual Studio. Build Solution.

Usage

A GUI demo has been contained in the repository.

Method 1: Use NuGet (Recommended)

  1. Open OneToOneVideo/OneToOneVideo.sln via Visual Studio.
  2. In Solution Explorer, find OneToOneVideo->Dependencies and right click. Then, click Manage NuGet Packages....
  3. Click Browse button, search agora_rtc_sdk and install the package.
  4. Find all DLL files showed in Solution Explorer and set the Copy to Output Directory property in Properties->Advanced to Copy always.
  5. Run demo.

Method 2: Use DLL files

By following [self-compiling SDK](#Method 2: Compile SDK) in Installation section, please follow the instructions below.

  1. Download the required Native SDK.

    Download SDK Agora Video SDK for Windows. Unzip the downloaded SDK package and copy all the .dll files libs/x86_64 into OneToOneVideo/OneToOneVideo folder.

  2. Copy other required DLL files.

    Copy agorartc/agorartc/bin/debug/netcoreapp3.1/agorartc.dll and iris.dll into OneToOneVideo/OneToOneVideo folder.

  3. Open OneToOneVideo/OneToOneVideo.sln via Visual Studio. Run demo.

If you do not have an App ID, see Appendix.

Help

For more information about our API, please refer to Agora C++ API.

C# API reference is on proceeding while C++ API is similar.

Appendix

Create an Account and Obtain an App ID

To use our SDK, you must obtain an app ID:

  1. Create a developer account at agora.io. Once you finish the sign-up process, you are 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 it when you run demo (there is an input box in our GUI demo).

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.