ov-components: clarify method documentation for local participant connection

master
Carlos Santos 2025-03-06 13:44:46 +01:00
parent 7d10ec6097
commit 9b4f330c4a
1 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ export class OpenViduService {
} }
/** /**
* Connects to the Room * Connects local participant to the room
*/ */
async connectRoom(): Promise<void> { async connectRoom(): Promise<void> {
try { try {
@ -101,7 +101,7 @@ export class OpenViduService {
} }
/** /**
* Disconnects the room * Disconnects local participant from the room
*/ */
async disconnectRoom(): Promise<void> { async disconnectRoom(): Promise<void> {
if (this.isRoomConnected()) { if (this.isRoomConnected()) {
@ -130,7 +130,7 @@ export class OpenViduService {
/** /**
* Returns if the room is connected or not * Returns if local participant is connected to the room
* @returns * @returns
*/ */
isRoomConnected(): boolean { isRoomConnected(): boolean {