feat(external-api): Add recording download link available event (#10229)

This commit is contained in:
Horatiu Muresan
2021-10-22 11:53:22 +03:00
parent 67037e6089
commit d16c8af57e
3 changed files with 21 additions and 0 deletions

View File

@@ -1458,6 +1458,20 @@ class API {
});
}
/**
* Notify external application (if API is enabled) that the current recording link is
* available.
*
* @param {string} link - The recording download link.
* @returns {void}
*/
notifyRecordingLinkAvailable(link: string) {
this._sendEvent({
name: 'recording-link-available',
link
});
}
/**
* Notify external application (if API is enabled) that a participant is knocking in the lobby.
*