2022-01-20 09:58:12 +01:00
|
|
|
# openvidu-angular
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-08 14:01:47 +02:00
|
|
|
[](http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
[](https://npmjs.org/package/openvidu-angular)
|
|
|
|
[](https://npmjs.org/package/openvidu-angular)
|
|
|
|
|
|
|
|
**The easier way to build powerful OpenVidu videoconference frontend applications.**
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
## How to install
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-03-28 16:51:12 +02:00
|
|
|
```
|
2022-04-08 13:52:12 +02:00
|
|
|
npm install openvidu-angular@latest
|
2022-03-28 16:51:12 +02:00
|
|
|
```
|
|
|
|
|
2022-04-08 14:01:47 +02:00
|
|
|
## How to use it
|
2022-03-28 16:51:12 +02:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
In your `app.module.ts`:
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
```typescript
|
|
|
|
import { OpenViduAngularConfig, OpenViduAngularModule } from 'openvidu-angular';
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
const config: OpenViduAngularConfig = {
|
|
|
|
production: environment.production
|
|
|
|
};
|
2022-01-19 17:24:11 +01:00
|
|
|
|
|
|
|
@NgModule({
|
2022-04-08 13:52:12 +02:00
|
|
|
imports: [
|
|
|
|
...
|
|
|
|
OpenViduAngularModule.forRoot(config)
|
|
|
|
]
|
|
|
|
})
|
2022-04-08 14:01:47 +02:00
|
|
|
```
|