snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
33
react/features/mobile/external-api/actions.ts
Normal file
33
react/features/mobile/external-api/actions.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import { READY_TO_CLOSE, SCREEN_SHARE_PARTICIPANTS_UPDATED } from './actionTypes';
|
||||
|
||||
|
||||
/**
|
||||
* Creates a (redux) action which signals that the SDK is ready to be closed.
|
||||
*
|
||||
* @returns {{
|
||||
* type: READY_TO_CLOSE
|
||||
* }}
|
||||
*/
|
||||
export function readyToClose() {
|
||||
return {
|
||||
type: READY_TO_CLOSE
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a (redux) action which signals that the list of known participants
|
||||
* with screen shares has changed.
|
||||
*
|
||||
* @param {string} participantIds - The participants which currently have active
|
||||
* screen share streams.
|
||||
* @returns {{
|
||||
* type: SCREEN_SHARE_PARTICIPANTS_UPDATED,
|
||||
* participantId: string
|
||||
* }}
|
||||
*/
|
||||
export function setParticipantsWithScreenShare(participantIds: Array<string>) {
|
||||
return {
|
||||
type: SCREEN_SHARE_PARTICIPANTS_UPDATED,
|
||||
participantIds
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user