mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(screenshare): emit source type when starting screenshare (#3959)
* feat(screenshare): emit source type when starting screenshare * squash: update doc
This commit is contained in:
@@ -556,12 +556,17 @@ class API {
|
||||
* has been turned on/off.
|
||||
*
|
||||
* @param {boolean} on - True if screen sharing is enabled.
|
||||
* @param {Object} details - Additional information about the screen
|
||||
* sharing.
|
||||
* @param {string} details.sourceType - Type of device or window the screen
|
||||
* share is capturing.
|
||||
* @returns {void}
|
||||
*/
|
||||
notifyScreenSharingStatusChanged(on: boolean) {
|
||||
notifyScreenSharingStatusChanged(on: boolean, details: Object) {
|
||||
this._sendEvent({
|
||||
name: 'screen-sharing-status-changed',
|
||||
on
|
||||
on,
|
||||
details
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user