mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(external-api) Expose deployment info through API
- Set region along shard from xmpp
This commit is contained in:
11
modules/API/external/external_api.js
vendored
11
modules/API/external/external_api.js
vendored
@@ -956,6 +956,17 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
||||
return avatarURL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the deployment info.
|
||||
*
|
||||
* @returns {Promise} - Resolves with the deployment info object.
|
||||
*/
|
||||
getDeploymentInfo() {
|
||||
return this._transport.sendRequest({
|
||||
name: 'deployment-info'
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the display name of a participant.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user