projects/openvidu-components-angular/src/lib/components/layout/layout.component.ts
The LayoutComponent is hosted inside of the VideoconferenceComponent. It is in charge of displaying the participants streams layout.
OnInit
OnDestroy
AfterViewInit
| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | ov-layout |
| styleUrls | ./layout.component.scss |
| templateUrl | ./layout.component.html |
Properties |
| localParticipant |
Type : ParticipantModel | undefined
|
| remoteParticipants |
Type : ParticipantModel[]
|
Default value : []
|
| Directive | Reference |
|---|---|
| *ovLayout | LayoutDirective |
It is also providing us a way to replace the {@link StreamComponent Stream Component} (which is hosted inside of it) with a custom one. It will recognise the following directive in a child element.
| Directive | Reference |
|---|---|
| *ovStream | StreamDirective |
With the following directives you can modify the default User Interface with the aim of fully customizing your videoconference application.
No API directives available for this component.