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

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // @flow
  2. import { JitsiRecordingConstants } from '../base/lib-jitsi-meet';
  3. /**
  4. * The identifier of the sound to be played when a recording or live streaming
  5. * session is stopped.
  6. *
  7. * @type {string}
  8. */
  9. export const RECORDING_OFF_SOUND_ID = 'RECORDING_OFF_SOUND';
  10. /**
  11. * The identifier of the sound to be played when a recording or live streaming
  12. * session is started.
  13. *
  14. * @type {string}
  15. */
  16. export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
  17. /**
  18. * Expected supported recording types. JIBRI is known to support live streaming
  19. * whereas JIRECON is for recording.
  20. *
  21. * @type {Object}
  22. */
  23. export const RECORDING_TYPES = {
  24. JIBRI: 'jibri',
  25. JIRECON: 'jirecon'
  26. };
  27. /**
  28. * An array defining the priorities of the recording (or live streaming)
  29. * statuses, where the index of the array is the priority itself.
  30. *
  31. * @type {Array<string>}
  32. */
  33. export const RECORDING_STATUS_PRIORITIES = [
  34. JitsiRecordingConstants.status.OFF,
  35. JitsiRecordingConstants.status.PENDING,
  36. JitsiRecordingConstants.status.ON
  37. ];