Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

functions.ts 449B

1234567891011121314
  1. import { IReduxState } from '../app/types';
  2. import { getParticipantById } from '../base/participants/functions';
  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: IReduxState) {
  10. const { participantId } = state['features/large-video'];
  11. return getParticipantById(state, participantId ?? '');
  12. }