feat(external-api) Forward CONFERENCE_CREATED_TIMESTAMP to iframe

This commit is contained in:
garysmith058
2024-05-11 00:49:47 +10:00
committed by GitHub
parent 383b534753
commit 8f7ab33508
3 changed files with 21 additions and 1 deletions

View File

@@ -2138,6 +2138,21 @@ class API {
}
/**
* Notify external application (if API is enabled) the conference
* start time.
*
* @param {number} timestamp - Timestamp conference was created.
* @returns {void}
*/
notifyConferenceCreatedTimestamp(timestamp) {
this._sendEvent({
name: 'conference-created-timestamp',
timestamp
});
}
/**
* Notify the external application (if API is enabled) if the connection type changed.
*