2022-01-19 17:24:11 +01:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app.routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
|
|
|
|
import { environment } from 'src/environments/environment';
|
|
|
|
|
2022-01-24 11:18:23 +01:00
|
|
|
// openvidu-angular
|
2022-01-19 17:24:11 +01:00
|
|
|
|
|
|
|
import { CallComponent } from './openvidu-call/call.component';
|
|
|
|
import { ToolbarTestComponent } from './components/toolbar-test/toolbar-test.component';
|
|
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
|
|
import { ChatTestComponent } from './components/chat-test/chat-test.component';
|
|
|
|
import { LayoutTestComponent } from './components/layout-test/layout-test.component';
|
2022-01-26 11:30:30 +01:00
|
|
|
import { StreamTestComponent } from './components/stream-test/stream-test.component';
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-01-20 12:07:42 +01:00
|
|
|
import {
|
|
|
|
OpenviduAngularModule,
|
|
|
|
UserSettingsComponent,
|
2022-01-26 11:30:30 +01:00
|
|
|
ChatPanelComponent,
|
2022-01-20 12:07:42 +01:00
|
|
|
ToolbarComponent,
|
2022-01-26 11:30:30 +01:00
|
|
|
SessionComponent,
|
2022-01-20 12:07:42 +01:00
|
|
|
LayoutComponent,
|
|
|
|
VideoconferenceComponent
|
|
|
|
} from 'openvidu-angular';
|
2022-01-19 17:24:11 +01:00
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
|
|
|
|
@NgModule({
|
2022-01-20 12:07:42 +01:00
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
DashboardComponent,
|
|
|
|
CallComponent,
|
|
|
|
ToolbarTestComponent,
|
|
|
|
ChatTestComponent,
|
|
|
|
LayoutTestComponent,
|
2022-01-26 11:30:30 +01:00
|
|
|
StreamTestComponent
|
2022-01-20 12:07:42 +01:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
MatButtonModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
OpenviduAngularModule.forRoot(environment),
|
|
|
|
AppRoutingModule // Order is important, AppRoutingModule must be the last import for useHash working
|
|
|
|
],
|
2022-01-26 11:30:30 +01:00
|
|
|
providers: [VideoconferenceComponent, UserSettingsComponent, ToolbarComponent, ChatPanelComponent, SessionComponent, LayoutComponent],
|
2022-01-20 12:07:42 +01:00
|
|
|
bootstrap: [AppComponent]
|
2022-01-19 17:24:11 +01:00
|
|
|
})
|
2022-01-20 12:07:42 +01:00
|
|
|
export class AppModule {}
|