您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }