feat(external-api) Expose meeting session (#14522)

This commit is contained in:
Horatiu Muresan
2024-03-25 13:11:59 +02:00
committed by GitHub
parent 2f6d9d4b52
commit fad58ae362
2 changed files with 17 additions and 0 deletions

View File

@@ -1229,6 +1229,17 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
return this._numberOfParticipants;
}
/**
* Return the conference`s sessionId.
*
* @returns {Promise} - Resolves with the conference`s sessionId.
*/
getSessionId() {
return this._transport.sendRequest({
name: 'session-id'
});
}
/**
* Returns array of commands supported by executeCommand().
*