Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

JitsiConferenceErrors.js 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /**
  2. * Enumeration with the errors for the conference.
  3. * @type {{string: string}}
  4. */
  5. var JitsiConferenceErrors = {
  6. /**
  7. * Indicates that a password is required in order to join the conference.
  8. */
  9. PASSWORD_REQUIRED: "conference.passwordRequired",
  10. /**
  11. * Indicates that client must be authenticated to create the conference.
  12. */
  13. AUTHENTICATION_REQUIRED: "conference.authenticationRequired",
  14. /**
  15. * Indicates that password cannot be set for this conference.
  16. */
  17. PASSWORD_NOT_SUPPORTED: "conference.passwordNotSupported",
  18. /**
  19. * Indicates that a connection error occurred when trying to join a
  20. * conference.
  21. */
  22. CONNECTION_ERROR: "conference.connectionError",
  23. /**
  24. * Indicates that the conference setup failed.
  25. */
  26. SETUP_FAILED: "conference.setup_failed",
  27. /**
  28. * Indicates that there is no available videobridge.
  29. */
  30. VIDEOBRIDGE_NOT_AVAILABLE: "conference.videobridgeNotAvailable",
  31. /**
  32. * Indicates that reservation system returned error.
  33. */
  34. RESERVATION_ERROR: "conference.reservationError",
  35. /**
  36. * Indicates that graceful shutdown happened.
  37. */
  38. GRACEFUL_SHUTDOWN: "conference.gracefulShutdown",
  39. /**
  40. * Indicates that jingle fatal error happened.
  41. */
  42. JINGLE_FATAL_ERROR: "conference.jingleFatalError",
  43. /**
  44. * Indicates that conference has been destroyed.
  45. */
  46. CONFERENCE_DESTROYED: "conference.destroyed",
  47. /**
  48. * Indicates that chat error occurred.
  49. */
  50. CHAT_ERROR: "conference.chatError",
  51. /**
  52. * Indicates that focus error happened.
  53. */
  54. FOCUS_DISCONNECTED: "conference.focusDisconnected",
  55. /**
  56. * Indicates that focus left the conference.
  57. */
  58. FOCUS_LEFT: "conference.focusLeft",
  59. /**
  60. * Indicates that max users limit has been reached.
  61. */
  62. CONFERENCE_MAX_USERS: "conference.max_users",
  63. /**
  64. * Indicates that the versions of the server side components are
  65. * incompatible with the client side.
  66. */
  67. INCOMPATIBLE_SERVER_VERSIONS: "conference.incompatible_server_versions"
  68. /**
  69. * Many more errors TBD here.
  70. */
  71. };
  72. module.exports = JitsiConferenceErrors;