File

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

Description

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>

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

frameRate
Type : number
streamFrameRate
Type : number

Methods

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

Properties

_frameRate
Type : number
Public elementRef
Type : ElementRef

Accessors

streamFrameRate
setstreamFrameRate(value: number)
Parameters :
Name Type Optional
value number No
Returns : void
frameRate
setframeRate(value: number)
Parameters :
Name Type Optional
value number No
Returns : void

results matching ""

    No results matching ""