File

projects/openvidu-angular/src/lib/components/stream/stream.component.ts

Description

The StreamComponent is hosted inside of the LayoutComponent. It is in charge of displaying the participant video stream in the videoconference layout.

API Directives

This component allows us to show or hide certain HTML elements with the following Angular attribute directives with the aim of fully customizing the StreamComponent.

Parameter Type Reference
displayParticipantName boolean StreamDisplayParticipantNameDirective
displayAudioDetection boolean StreamDisplayAudioDetectionDirective
settingsButton boolean StreamSettingsButtonDirective
resolution string StreamResolutionDirective
frameRate number StreamFrameRateDirective

OpenVidu Angular Directives

The StreamComponent can be replaced with a custom component. It provides us the following Angular structural directives for doing this.

Directive Reference
*ovStream StreamDirective

Implements

OnInit

Metadata

Index

Properties
Inputs
Accessors

Inputs

stream
Type : StreamModel

Properties

showVideo
Type : boolean

Accessors

stream
setstream(stream: StreamModel)
Parameters :
Name Type Optional
stream StreamModel No
Returns : void

results matching ""

    No results matching ""