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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 sound to be played when a recording session is stopped.
  17. *
  18. * @type {string}
  19. */
  20. export const RECORDING_OFF_SOUND_ID = 'RECORDING_OFF_SOUND';
  21. /**
  22. * The identifier of the sound to be played when a recording session is started.
  23. *
  24. * @type {string}
  25. */
  26. export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
  27. /**
  28. * Expected supported recording types.
  29. *
  30. * @enum {string}
  31. */
  32. export const RECORDING_TYPES = {
  33. JITSI_REC_SERVICE: 'recording-service',
  34. DROPBOX: 'dropbox'
  35. };
  36. /**
  37. * An array defining the priorities of the recording (or live streaming)
  38. * statuses, where the index of the array is the priority itself.
  39. *
  40. * @type {Array<string>}
  41. */
  42. export const RECORDING_STATUS_PRIORITIES = [
  43. JitsiRecordingConstants.status.OFF,
  44. JitsiRecordingConstants.status.PENDING,
  45. JitsiRecordingConstants.status.ON
  46. ];