Skip to content

Commit

Permalink
Add getSessionId function doc (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
horymury authored Mar 25, 2024
1 parent f577a40 commit 3ef84e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/dev-guide/iframe-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,18 @@ Response example structure:
}
```

### getSessionId

Returns the meting's unique Id (`sessionId`).
Please note that the `sessionId` is not available when in prejoin screen and it's not guaranteed to be available immediately after joining - in which cases it will be empty.

```javascript
api.getSessionId().then(sessionId => {
//sessionId: string
...
});
```

### getVideoQuality

Returns the current video quality setting.
Expand Down

0 comments on commit 3ef84e0

Please sign in to comment.