mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(external-api) Expose meeting session (#14522)
This commit is contained in:
11
modules/API/external/external_api.js
vendored
11
modules/API/external/external_api.js
vendored
@@ -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().
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user