File

projects/openvidu-components-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.ts

Description

The ParticipantPanelItemComponent is hosted inside of the ParticipantsPanelComponent. It displays participant information with enhanced UI/UX, including support for custom content injection through structural directives.

Implements

OnInit OnDestroy

Metadata

Index

Methods
Inputs
Accessors

Inputs

muteButton
Type : boolean
Default value : true

Whether to show the mute button for remote participants

participant
Type : ParticipantModel

The participant to be displayed

Methods

toggleMuteForcibly
toggleMuteForcibly()

Toggles the mute state of a remote participant

Returns : void

Accessors

participant
setparticipant(participant: ParticipantModel)

The participant to be displayed

Parameters :
Name Type Optional
participant ParticipantModel No
Returns : void
participantBadgeTemplate
getparticipantBadgeTemplate()

Gets the template for local participant badge

Returns : TemplateRef | undefined
isLocalParticipant
getisLocalParticipant()

Checks if the current participant is the local participant

Returns : boolean
participantDisplayName
getparticipantDisplayName()

Gets the participant's display name

Returns : string
hasExternalElements
gethasExternalElements()

Checks if external elements are available

Returns : boolean

Structural Directives

Directive Reference
*ovParticipantPanelItem ParticipantPanelItemDirective

It is also providing us a way to add additional buttons to the default participant panel item. It will recognise the following directive in a child element.

Directive Reference
*ovParticipantPanelItemElements ParticipantPanelItemElementsDirective

API Directives

With the following directives you can modify the default User Interface with the aim of fully customizing your videoconference application.

Parameter Type Reference
muteButton boolean ParticipantPanelItemMuteButtonDirective

results matching ""

    No results matching ""