modified lib-jitsi-meet dev repo
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.

JitsiConferenceErrors.ts 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /**
  2. * The errors for the conference.
  3. */
  4. export enum JitsiConferenceErrors {
  5. /**
  6. * Indicates that client must be authenticated to create the conference.
  7. */
  8. AUTHENTICATION_REQUIRED = 'conference.authenticationRequired',
  9. /**
  10. * Indicates that chat error occurred.
  11. */
  12. CHAT_ERROR = 'conference.chatError',
  13. /**
  14. * Indicates that a settings error occurred.
  15. */
  16. SETTINGS_ERROR = 'conference.settingsError',
  17. /**
  18. * Indicates that conference has been destroyed.
  19. */
  20. CONFERENCE_DESTROYED = 'conference.destroyed',
  21. /**
  22. * Indicates that max users limit has been reached.
  23. */
  24. CONFERENCE_MAX_USERS = 'conference.max_users',
  25. /**
  26. * Indicates that a connection error occurred when trying to join a conference.
  27. */
  28. CONNECTION_ERROR = 'conference.connectionError',
  29. /**
  30. * Indicates that the client has been forced to restart by jicofo when the
  31. * conference was migrated from one bridge to another.
  32. */
  33. CONFERENCE_RESTARTED = 'conference.restarted',
  34. /**
  35. * Indicates that a connection error is due to not allowed,
  36. * occurred when trying to join a conference.
  37. */
  38. NOT_ALLOWED_ERROR = 'conference.connectionError.notAllowed',
  39. /**
  40. * Indicates that a connection error is due to not allowed,
  41. * occurred when trying to join a conference, only approved members are allowed to join.
  42. */
  43. MEMBERS_ONLY_ERROR = 'conference.connectionError.membersOnly',
  44. /**
  45. * Indicates that a connection error is due to denied access to the room,
  46. * occurred after joining a lobby room and access is denied by the room moderators.
  47. */
  48. CONFERENCE_ACCESS_DENIED = 'conference.connectionError.accessDenied',
  49. /**
  50. * Indicates that focus error happened.
  51. */
  52. FOCUS_DISCONNECTED = 'conference.focusDisconnected',
  53. /**
  54. * Indicates that focus left the conference.
  55. */
  56. FOCUS_LEFT = 'conference.focusLeft',
  57. /**
  58. * Indicates that graceful shutdown happened.
  59. */
  60. GRACEFUL_SHUTDOWN = 'conference.gracefulShutdown',
  61. /**
  62. * Indicates that the media connection has failed.
  63. */
  64. ICE_FAILED = 'conference.iceFailed',
  65. /**
  66. * Indicates that the versions of the server side components are incompatible
  67. * with the client side.
  68. */
  69. INCOMPATIBLE_SERVER_VERSIONS = 'conference.incompatible_server_versions',
  70. /**
  71. * Indicates that offer/answer had failed.
  72. */
  73. OFFER_ANSWER_FAILED = 'conference.offerAnswerFailed',
  74. /**
  75. * Indicates that password cannot be set for this conference.
  76. */
  77. PASSWORD_NOT_SUPPORTED = 'conference.passwordNotSupported',
  78. /**
  79. * Indicates that a password is required in order to join the conference.
  80. */
  81. PASSWORD_REQUIRED = 'conference.passwordRequired',
  82. /**
  83. * The conference is redirected to a visitor node.
  84. */
  85. REDIRECTED = 'conference.redirected',
  86. /**
  87. * Indicates that reservation system returned error.
  88. */
  89. RESERVATION_ERROR = 'conference.reservationError',
  90. /**
  91. * Indicates that there is no available videobridge.
  92. */
  93. VIDEOBRIDGE_NOT_AVAILABLE = 'conference.videobridgeNotAvailable'
  94. };
  95. // exported for backward compatibility
  96. export const AUTHENTICATION_REQUIRED = JitsiConferenceErrors.AUTHENTICATION_REQUIRED;
  97. export const CHAT_ERROR = JitsiConferenceErrors.CHAT_ERROR;
  98. export const SETTINGS_ERROR = JitsiConferenceErrors.SETTINGS_ERROR;
  99. export const CONFERENCE_DESTROYED = JitsiConferenceErrors.CONFERENCE_DESTROYED;
  100. export const CONFERENCE_MAX_USERS = JitsiConferenceErrors.CONFERENCE_MAX_USERS;
  101. export const CONNECTION_ERROR = JitsiConferenceErrors.CONNECTION_ERROR;
  102. export const CONFERENCE_RESTARTED = JitsiConferenceErrors.CONFERENCE_RESTARTED;
  103. export const NOT_ALLOWED_ERROR = JitsiConferenceErrors.NOT_ALLOWED_ERROR;
  104. export const MEMBERS_ONLY_ERROR = JitsiConferenceErrors.MEMBERS_ONLY_ERROR;
  105. export const CONFERENCE_ACCESS_DENIED = JitsiConferenceErrors.CONFERENCE_ACCESS_DENIED;
  106. export const FOCUS_DISCONNECTED = JitsiConferenceErrors.FOCUS_DISCONNECTED;
  107. export const FOCUS_LEFT = JitsiConferenceErrors.FOCUS_LEFT;
  108. export const GRACEFUL_SHUTDOWN = JitsiConferenceErrors.GRACEFUL_SHUTDOWN;
  109. export const ICE_FAILED = JitsiConferenceErrors.ICE_FAILED;
  110. export const INCOMPATIBLE_SERVER_VERSIONS = JitsiConferenceErrors.INCOMPATIBLE_SERVER_VERSIONS;
  111. export const OFFER_ANSWER_FAILED = JitsiConferenceErrors.OFFER_ANSWER_FAILED;
  112. export const PASSWORD_NOT_SUPPORTED = JitsiConferenceErrors.PASSWORD_NOT_SUPPORTED;
  113. export const PASSWORD_REQUIRED = JitsiConferenceErrors.PASSWORD_REQUIRED;
  114. export const REDIRECTED = JitsiConferenceErrors.REDIRECTED;
  115. export const RESERVATION_ERROR = JitsiConferenceErrors.RESERVATION_ERROR;
  116. export const VIDEOBRIDGE_NOT_AVAILABLE = JitsiConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE;