Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

constants.ts 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**
  2. * The identifier of the sound to be played when e2ee is disabled.
  3. *
  4. * @type {string}
  5. */
  6. export const E2EE_OFF_SOUND_ID = 'E2EE_OFF_SOUND';
  7. /**
  8. * The identifier of the sound to be played when e2ee is enabled.
  9. *
  10. * @type {string}
  11. */
  12. export const E2EE_ON_SOUND_ID = 'E2EE_ON_SOUND';
  13. /**
  14. * The number of participants after which e2ee maxMode is set to MAX_MODE.ENABLED.
  15. *
  16. * @type {integer}
  17. */
  18. export const MAX_MODE_LIMIT = 20;
  19. /**
  20. * If the number of participants is greater then MAX_MODE_LIMIT + MAX_MODE_THRESHOLD
  21. * e2ee maxMode is set to MAX_MODE.THRESHOLD_EXCEEDED.
  22. *
  23. * @type {integer}
  24. */
  25. export const MAX_MODE_THRESHOLD = 5;
  26. export const MAX_MODE = {
  27. /**
  28. * Mode for which the e2ee can be enabled or disabled.
  29. * If e2ee is enabled, e2ee section is enabled with a warning text.
  30. * If e2ee is disabled, e2ee section is disabled with a warning text.
  31. *
  32. * @type {string}
  33. */
  34. ENABLED: 'max-mode-enabled',
  35. /**
  36. * Mode for which the e2ee and the e2ee section are automatically disabled.
  37. *
  38. * @type {string}
  39. */
  40. THRESHOLD_EXCEEDED: 'max-mode-threshold-exceeded',
  41. /**
  42. * The default e2ee maxMode, e2ee can be enabled/disabled, e2ee section is enabled.
  43. *
  44. * @type {string}
  45. */
  46. DISABLED: 'max-mode-disabled'
  47. };