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

actions.web.js 868B

123456789101112131415161718192021222324252627
  1. // @flow
  2. import React from 'react';
  3. import JitsiMeetJS from '../base/lib-jitsi-meet';
  4. import { showNotification } from '../notifications';
  5. import { RecordingLimitNotificationDescription } from './components';
  6. export * from './actions.any';
  7. /**
  8. * Signals that a started recording notification should be shown on the
  9. * screen for a given period.
  10. *
  11. * @param {string} streamType - The type of the stream ({@code file} or
  12. * {@code stream}).
  13. * @returns {showNotification}
  14. */
  15. export function showRecordingLimitNotification(streamType: string) {
  16. const isLiveStreaming = streamType === JitsiMeetJS.constants.recording.mode.STREAM;
  17. return showNotification({
  18. description: <RecordingLimitNotificationDescription isLiveStreaming = { isLiveStreaming } />,
  19. titleKey: isLiveStreaming ? 'dialog.liveStreaming' : 'dialog.recording'
  20. }, 10000);
  21. }