選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

subscriber.any.js 771B

1234567891011121314151617181920
  1. // @flow
  2. import { StateListenerRegistry } from '../base/redux';
  3. import { updateRemoteParticipants } from './functions';
  4. /**
  5. * Listens for changes to the screensharing status of the remote participants to recompute the reordered list of the
  6. * remote endpoints.
  7. */
  8. StateListenerRegistry.register(
  9. /* selector */ state => state['features/video-layout'].remoteScreenShares,
  10. /* listener */ (remoteScreenShares, store) => updateRemoteParticipants(store));
  11. /**
  12. * Listens for changes to the dominant speaker to recompute the reordered list of the remote endpoints.
  13. */
  14. StateListenerRegistry.register(
  15. /* selector */ state => state['features/base/participants'].dominantSpeaker,
  16. /* listener */ (dominantSpeaker, store) => updateRemoteParticipants(store));