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.

functions.js 394B

123456789101112131415
  1. // @flow
  2. import { getParticipantById } from '../base/participants';
  3. /**
  4. * Selector for the participant currently displaying on the large video.
  5. *
  6. * @param {Object} state - The redux state.
  7. * @returns {Object}
  8. */
  9. export function getLargeVideoParticipant(state: Object) {
  10. const { participantId } = state['features/large-video'];
  11. return getParticipantById(state, participantId);
  12. }