projects/openvidu-angular/src/lib/directives/api/stream.directive.ts
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>
Selector | ov-videoconference[streamResolution], ov-stream[resolution] |
Properties |
|
Methods |
Inputs |
Accessors |
constructor(elementRef: ElementRef, libService: OpenViduAngularConfigService)
|
|||||||||
Parameters :
|
resolution |
Type : string
|
streamResolution |
Type : string
|
clear |
clear()
|
Returns :
void
|
update | ||||||
update(value: string)
|
||||||
Parameters :
Returns :
void
|
_resolution |
Type : string
|
Public elementRef |
Type : ElementRef
|
streamResolution | ||||||
setstreamResolution(value: string)
|
||||||
Parameters :
Returns :
void
|
resolution | ||||||
setresolution(value: string)
|
||||||
Parameters :
Returns :
void
|