File

projects/openvidu-angular/src/lib/directives/api/stream.directive.ts

Description

The displayAudioDetection directive allows show/hide the participants audio detection in stream component.

Default: true

It can be used in the parent element VideoconferenceComponent specifying the name of the stream component:

<ov-videoconference [streamDisplayAudioDetection]="false"></ov-videoconference>


And it also can be used in the StreamComponent.

<ov-stream [displayAudioDetection]="false"></ov-stream>

Implements

AfterViewInit OnDestroy

Metadata

Index

Properties
Methods
Inputs
Accessors

Constructor

constructor(elementRef: ElementRef, libService: OpenViduAngularConfigService)
Parameters :
Name Type Optional
elementRef ElementRef No
libService OpenViduAngularConfigService No

Inputs

displayAudioDetection
Type : boolean
streamDisplayAudioDetection
Type : boolean

Methods

clear
clear()
Returns : void
update
update(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void

Properties

displayAudioDetectionValue
Type : boolean
Public elementRef
Type : ElementRef

Accessors

streamDisplayAudioDetection
setstreamDisplayAudioDetection(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void
displayAudioDetection
setdisplayAudioDetection(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void

results matching ""

    No results matching ""