mirror of https://github.com/OpenVidu/openvidu.git
![]() |
||
---|---|---|
.. | ||
doc | ||
src | ||
.browserslistrc | ||
.prettierrc | ||
README.md | ||
karma.conf.js | ||
ng-package.json | ||
package.json | ||
tsconfig.lib.json | ||
tsconfig.lib.prod.json | ||
tsconfig.spec.json |
README.md
openvidu-angular
The easier way to build powerful OpenVidu videoconference frontend applications.
Requirements:
You will need angular-cli (and of course NPM) to serve the Angular frontend. You can check it with the following command:
npm -v
ng v
How to install
- You need to install the openvidu-angular library in your Angular application:
npm install openvidu-angular
- Also you need Angular Material:
ng add @angular/material
How to use it
You need import the openvidu-angular module in your app.module.ts
:
import { OpenViduAngularConfig, OpenViduAngularModule } from 'openvidu-angular';
const config: OpenViduAngularConfig = {
production: environment.production
};
@NgModule({
imports: [
...
OpenViduAngularModule.forRoot(config)
]
})