mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat (screen-share) Added logs and emit iframe event for video and audio sharing (#12051)
This commit is contained in:
@@ -1770,6 +1770,24 @@ class API {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Notify the external application that the audio or video is being shared by a participant.
|
||||
*
|
||||
* @param {string} mediaType - Whether the content which is being shared is audio or video.
|
||||
* @param {string} value - Whether the sharing is playing, pause or stop (on audio there is only playing and stop).
|
||||
* @param {string} participantId - Participant id of the participant which started or ended
|
||||
* the video or audio sharing.
|
||||
* @returns {void}
|
||||
*/
|
||||
notifyAudioOrVideoSharingToggled(mediaType, value, participantId) {
|
||||
this._sendEvent({
|
||||
name: 'audio-or-video-sharing-toggled',
|
||||
mediaType,
|
||||
value,
|
||||
participantId
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Disposes the allocated resources.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user