projects/openvidu-angular/src/lib/directives/api/stream.directive.ts
The frameRate directive allows initialize the publisher with a specific frame rate in stream component.
Default: 30
It can be used in the parent element VideoconferenceComponent specifying the name of the stream
component:
<ov-videoconference [streamFrameRate]="10"></ov-videoconference>
And it also can be used in the StreamComponent.
<ov-stream [frameRate]="10"></ov-stream>
Selector | ov-videoconference[streamFrameRate], ov-stream[frameRate] |
Properties |
|
Methods |
Inputs |
Accessors |
constructor(elementRef: ElementRef, libService: OpenViduAngularConfigService)
|
|||||||||
Parameters :
|
frameRate |
Type : number
|
streamFrameRate |
Type : number
|
clear |
clear()
|
Returns :
void
|
update | ||||||
update(value: number)
|
||||||
Parameters :
Returns :
void
|
_frameRate |
Type : number
|
Public elementRef |
Type : ElementRef
|
streamFrameRate | ||||||
setstreamFrameRate(value: number)
|
||||||
Parameters :
Returns :
void
|
frameRate | ||||||
setframeRate(value: number)
|
||||||
Parameters :
Returns :
void
|