plutoless / eEducation

e-education solutions(Agora Reference Design)
184 stars 124 forks source link
agora education electron-app rtc video

其他语言版本:简体中文

Table of contents

About the project

Agora e-Education is a sample project provided by Agora for developers in the education industry, which demonstrates how to use Agora Edu Cloud Service, Agora RTC SDK, Agora RTM SDK, Agora Cloud Recording, and the third-party Netless whiteboard SDK to quickly implement basic online interactive tutoring scenarios.

Applicable scenarios

Agora e-Education supports the following scenarios:

Functions

Function Web (Teacher) Web (Student) iOS and Android (Student) Note
Real-time audio and video communication /
Real-time messaging /
Interactive Whiteboard ✔ One-to-one Classroom

✔ Small Classroom

✘ Lecture Hall

✔One-to-one Classroom

✔ Small Classroom

✘ Lecture Hall

  • In a one-to-one classroom, both the teacher and students can draw on the whiteboard by default.
  • In a small classroom, students cannot draw on the whiteboard by default, but the teacher can give a student the permission of drawing on the whiteboard.
  • In a lecture hall, students can never draw on the whiteboard.
  • Whiteboard follow The teacher can enable "whiteboard follow". When the teacher is moving the whiteboard or turning pages, the whiteboard area that students see will be consistent with the teacher's whiteboard area.
    Uploading files (PPT, Word, PDF, audio files or video files) Only teachers can upload files to the classroom.
    Students raising hands In a lecture hall, students do not send their audio and video by default, but they can "raise their hands" to apply for interacting with the teacher. The teacher can approve or decline the application.
    Screen sharing The teacher can share the screen.
    Recording and replay The teacher can start recording and record the class for at least 15 seconds. After the recording finishes, a link for replaying the class will be displayed in the message box.

    Compatibility

    Agora e-Education supports the following platforms and versions:

    Restrictions

    See Restrictions.

    Get started

    Prerequisites

    Make sure you make the following preparations before compiling and running the sample project.

    Get an Agora App ID

    Follow these steps to get an Agora App ID:

    1. Create an account in Agora Console.
    2. Log in to Agora Console and create a project. Select "App ID + App Certificate + Token" as your authentication mechanism when creating the project. Make sure that you enable the App Certificate of this project.
    3. Get the App ID of this project in Project Management page.

    Pass the basic HTTP authentication

    Before using the Agora RESTful APIs, you need to generate the Authorization parameter with the Customer ID and Customer Certificate provided by Agora and pass the Authorization parameter in the HTTP request header for authentication. For details, see the steps of basic HTTP authentication.

    Get a Netless sdkToken and register with Agora Cloud Service

    Follow these steps to get a Netless whiteboard sdkToken:

    1. Create an account in Netless Console.
    2. Log in to Netless Console and get the sdkToken in the Key management page.

    You need to register the sdkToken of the whiteboard to the Agora cloud server.

    1. OpenAgora Console
    2. EditProject Management, select the function module and click "update the token" to register.

    Run the sample project

    See the following documents to compile and run the sample project:

    Use Agora Edu Cloud Service

    Agora provides Agora Edu Cloud Service for developers who are not good at back end development. You can call the RESTful APIs of Agora Edu Cloud Service to quickly implement managing the states of classrooms and the permissions of users on the back end. For details, see Agora Edu Cloud Service.

    FAQ

    See Trouble Shooting.

    Recommended versions of the Agora RTC SDK

    Agora provides high-stability versions of the Agora RTC Native SDK for companies in the education industry. The educational special versions are developed based on the Agora RTC SDK v2.9.0.

    For the Agora RTC Web SDK, download the latest version on Agora Developer Portal.