ov-components: Add getter for room name in ParticipantModel

pull/856/head
Carlos Santos 2025-11-18 18:01:07 +01:00
parent cabb761024
commit 3be9dd6741
1 changed files with 9 additions and 0 deletions

View File

@ -175,6 +175,15 @@ export class ParticipantModel {
return this._decryptedName ?? this.participant.name;
}
/**
* Returns the room name where the participant is.
* @return string | undefined
* @internal
*/
get roomName(): string | undefined {
return this.room?.name;
}
/**
* Returns if the participant has enabled its camera.
*/