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.

subscriber.web.js 399B

1234567891011121314
  1. // @flow
  2. import VideoLayout from '../../../modules/UI/videolayout/VideoLayout';
  3. import { StateListenerRegistry } from '../base/redux';
  4. /**
  5. * Updates the on stage participant video.
  6. */
  7. StateListenerRegistry.register(
  8. /* selector */ state => state['features/large-video'].participantId,
  9. /* listener */ participantId => {
  10. VideoLayout.updateLargeVideo(participantId, true);
  11. }
  12. );