projects/openvidu-components-angular/src/lib/components/stream/stream.component.ts
The StreamComponent is hosted inside of the LayoutComponent. It is in charge of displaying the participant video stream in the videoconference layout.
OnInit
OnDestroy
| selector | ov-stream |
| styleUrls | ./stream.component.scss |
| templateUrl | ./stream.component.html |
Inputs |
Accessors |
| track |
Type : ParticipantTrackPublication
|
| track | ||||||
settrack(track: ParticipantTrackPublication)
|
||||||
|
Parameters :
Returns :
void
|
With these kind of directives you can replace the default StreamComponent with your own component. You can also add your own components to the default ones.
| Directive | Reference |
|---|---|
| *ovStream | StreamDirective |
With the following directives you can modify the default User Interface with the aim of fully customizing your videoconference application.
| Parameter | Type | Reference |
|---|---|---|
| displayAudioDetection | boolean |
StreamDisplayAudioDetectionDirective |
| displayParticipantName | boolean |
StreamDisplayParticipantNameDirective |
| videoControls | boolean |
StreamVideoControlsDirective |