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.ts 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import { JitsiRecordingConstants } from '../base/lib-jitsi-meet';
  2. /**
  3. * The identifier of the sound to be played when a live streaming session is stopped.
  4. *
  5. * @type {string}
  6. */
  7. export const LIVE_STREAMING_OFF_SOUND_ID = 'LIVE_STREAMING_OFF_SOUND';
  8. /**
  9. * The identifier of the sound to be played when a live streaming session is started.
  10. *
  11. * @type {string}
  12. */
  13. export const LIVE_STREAMING_ON_SOUND_ID = 'LIVE_STREAMING_ON_SOUND';
  14. /**
  15. * The identifier of the prompt to start recording notification.
  16. *
  17. * @type {string}
  18. */
  19. export const PROMPT_RECORDING_NOTIFICATION_ID = 'PROMPT_RECORDING_NOTIFICATION_ID';
  20. /**
  21. * The identifier of the sound to be played when a recording session is stopped.
  22. *
  23. * @type {string}
  24. */
  25. export const RECORDING_OFF_SOUND_ID = 'RECORDING_OFF_SOUND';
  26. /**
  27. * The identifier of the sound to be played when a recording session is started.
  28. *
  29. * @type {string}
  30. */
  31. export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
  32. /**
  33. * Expected supported recording types.
  34. *
  35. * @enum {string}
  36. */
  37. export const RECORDING_TYPES = {
  38. JITSI_REC_SERVICE: 'recording-service',
  39. DROPBOX: 'dropbox',
  40. LOCAL: 'local'
  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. ];
  53. export const START_RECORDING_NOTIFICATION_ID = 'START_RECORDING_NOTIFICATION_ID';
  54. export const RECORDING_METADATA_ID = 'recording';