feat(external-api) Expose deployment info through API

- Set region along shard from xmpp
This commit is contained in:
hmuresan
2021-10-07 14:49:15 +03:00
committed by Дамян Минков
parent 3b33ba3f5d
commit 7102ad1186
3 changed files with 19 additions and 0 deletions

View File

@@ -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.
*