File

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

Description

The resolution directive allows to set a specific participant resolution in stream component.

Default: 640x480

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

<ov-videoconference [streamResolution]="'320x240'"></ov-videoconference>


And it also can be used in the StreamComponent.

<ov-stream [resolution]="'320x240'"></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

resolution
Type : string
streamResolution
Type : string

Methods

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

Properties

_resolution
Type : string
Public elementRef
Type : ElementRef

Accessors

streamResolution
setstreamResolution(value: string)
Parameters :
Name Type Optional
value string No
Returns : void
resolution
setresolution(value: string)
Parameters :
Name Type Optional
value string No
Returns : void

results matching ""

    No results matching ""