Skip to content

Commit

Permalink
frontend: Moved video-room page to common library
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Oct 25, 2024
1 parent 8112dbe commit 6178603
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from './console/access-permissions/access-permissions.component';
export * from './console/appearance/appearance.component';
export * from './console/security-preferences/security-preferences.component';
export * from './console/about/about.component';
export * from './console/overview/overview.component';
export * from './console/overview/overview.component';
export * from './video-room/video-room.component';
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import {
ApiDirectiveModule
} from 'openvidu-components-angular';

import { ContextService, GlobalPreferencesService, HttpService } from 'shared-call-components';
import {
BroadcastingPreferences,
ChatPreferences,
RecordingPreferences,
VirtualBackgroundPreferences
} from '@openvidu/call-common-types';
import { HttpService, ContextService, GlobalPreferencesService } from '../../services';

@Component({
selector: 'app-video-room',
Expand Down Expand Up @@ -48,11 +48,11 @@ export class VideoRoomComponent implements OnInit {
};

constructor(
private httpService: HttpService,
private router: Router,
private contextService: ContextService,
private globalPreferencesService: GlobalPreferencesService,
private cdr: ChangeDetectorRef
protected httpService: HttpService,
protected router: Router,
protected contextService: ContextService,
protected globalPreferencesService: GlobalPreferencesService,
protected cdr: ChangeDetectorRef
) {}

async ngOnInit() {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Routes } from '@angular/router';
import { HomeComponent } from '@app/pages/home/home.component';
import { VideoRoomComponent } from '@app/pages/video-room/video-room.component';

import {
RoomPreferencesComponent,
Expand All @@ -13,7 +12,8 @@ import {
OverviewComponent,
embeddedGuard,
nonEmbeddedGuard,
standardGuard
standardGuard,
VideoRoomComponent
} from 'shared-call-components';
export const routes: Routes = [
// Embedded mode
Expand Down

0 comments on commit 6178603

Please sign in to comment.