This is a sample app for agora implementation with angular
Find Ionic version https://github.com/dilipwk/ionic-agora-video-call
Before using the Library, you need to:
- Get a valid Agora account. (Sign up for free.)
- Create a project in Agora Console and choose APP ID for authentication.
git clone https://github.com/dilipwk/angular-agora-video-call
cd angular-agora-video-call
npm i
npm i ngx-agora-sdk-ng --save
ng serve
- Replace your own appId in
agora-appId
. in app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { NgxAgoraSdkNgModule } from 'ngx-agora-sdk-ng';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NgxAgoraSdkNgModule.forRoot({
AppID: 'replace-agora-appId',
Video: { codec: 'h264', mode: 'rtc', role: 'host' }
})
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Made with ❤️
Email dilipwk@hasotech.com for any development related support.
Allude https://github.com/ChapterII/ngx-agora-sdk-ng
Thanks