Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

constants.js 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // @flow
  2. import { JitsiRecordingConstants } from '../base/lib-jitsi-meet';
  3. /**
  4. * The identifier of the sound to be played when a live streaming session is stopped.
  5. *
  6. * @type {string}
  7. */
  8. export const LIVE_STREAMING_OFF_SOUND_ID = 'LIVE_STREAMING_OFF_SOUND';
  9. /**
  10. * The identifier of the sound to be played when a live streaming session is started.
  11. *
  12. * @type {string}
  13. */
  14. export const LIVE_STREAMING_ON_SOUND_ID = 'LIVE_STREAMING_ON_SOUND';
  15. /**
  16. * The identifier of the prompt to start recording notification.
  17. *
  18. * @type {string}
  19. */
  20. export const PROMPT_RECORDING_NOTIFICATION_ID = 'PROMPT_RECORDING_NOTIFICATION_ID';
  21. /**
  22. * The identifier of the sound to be played when a recording session is stopped.
  23. *
  24. * @type {string}
  25. */
  26. export const RECORDING_OFF_SOUND_ID = 'RECORDING_OFF_SOUND';
  27. /**
  28. * The identifier of the sound to be played when a recording session is started.
  29. *
  30. * @type {string}
  31. */
  32. export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
  33. /**
  34. * Expected supported recording types.
  35. *
  36. * @enum {string}
  37. */
  38. export const RECORDING_TYPES = {
  39. JITSI_REC_SERVICE: 'recording-service',
  40. DROPBOX: 'dropbox'
  41. };
  42. /**
  43. * An array defining the priorities of the recording (or live streaming)
  44. * statuses, where the index of the array is the priority itself.
  45. *
  46. * @type {Array<string>}
  47. */
  48. export const RECORDING_STATUS_PRIORITIES = [
  49. JitsiRecordingConstants.status.OFF,
  50. JitsiRecordingConstants.status.PENDING,
  51. JitsiRecordingConstants.status.ON
  52. ];