projects/openvidu-components-angular/src/lib/directives/api/stream.directive.ts
The streamDisplayParticipantName directive allows show/hide the participants name in all stream components from the parent VideoconferenceComponent.
Default: true
To control visibility per individual stream use [displayParticipantName] directly on StreamComponent:
<ov-stream [displayParticipantName]="false"></ov-stream>
<ov-videoconference [streamDisplayParticipantName]="false"></ov-videoconference>
AfterViewInit
OnDestroy
| Selector | ov-videoconference[streamDisplayParticipantName] |
Properties |
Methods |
Inputs |
Accessors |
constructor(elementRef: ElementRef, libService: OpenViduComponentsConfigService)
|
|||||||||
|
Parameters :
|
| streamDisplayParticipantName |
Type : boolean
|
| clear |
clear()
|
|
Returns :
void
|
| update | ||||||
update(value: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| displayParticipantNameValue |
Type : boolean
|
| Public elementRef |
Type : ElementRef
|
| streamDisplayParticipantName | ||||||
setstreamDisplayParticipantName(value: boolean)
|
||||||
|
Parameters :
Returns :
void
|