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.

constants.js 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. LOCAL: 'local'
  42. };
  43. /**
  44. * An array defining the priorities of the recording (or live streaming)
  45. * statuses, where the index of the array is the priority itself.
  46. *
  47. * @type {Array<string>}
  48. */
  49. export const RECORDING_STATUS_PRIORITIES = [
  50. JitsiRecordingConstants.status.OFF,
  51. JitsiRecordingConstants.status.PENDING,
  52. JitsiRecordingConstants.status.ON
  53. ];