You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.js 592B

123456789101112131415161718192021
  1. // @flow
  2. import { SCREEN_SHARE_PARTICIPANTS_UPDATED } from './actionTypes';
  3. /**
  4. * Creates a (redux) action which signals that the list of known participants
  5. * with screen shares has changed.
  6. *
  7. * @param {string} participantIds - The participants which currently have active
  8. * screen share streams.
  9. * @returns {{
  10. * type: SCREEN_SHARE_PARTICIPANTS_UPDATED,
  11. * participantId: string
  12. * }}
  13. */
  14. export function setParticipantsWithScreenShare(participantIds: Array<string>) {
  15. return {
  16. type: SCREEN_SHARE_PARTICIPANTS_UPDATED,
  17. participantIds
  18. };
  19. }