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.

XMPPEvents.js 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. var XMPPEvents = {
  2. CONNECTION_FAILED: "xmpp.connection.failed",
  3. CONNECTION_INTERRUPTED: "xmpp.connection.interrupted",
  4. CONNECTION_RESTORED: "xmpp.connection.restored",
  5. CONFERENCE_CREATED: "xmpp.conferenceCreated.jingle",
  6. CALL_INCOMING: "xmpp.callincoming.jingle",
  7. DISPOSE_CONFERENCE: "xmpp.dispose_conference",
  8. GRACEFUL_SHUTDOWN: "xmpp.graceful_shutdown",
  9. KICKED: "xmpp.kicked",
  10. BRIDGE_DOWN: "xmpp.bridge_down",
  11. USER_ID_CHANGED: "xmpp.user_id_changed",
  12. // We joined the MUC
  13. MUC_JOINED: "xmpp.muc_joined",
  14. // A member joined the MUC
  15. MUC_MEMBER_JOINED: "xmpp.muc_member_joined",
  16. // A member left the MUC
  17. MUC_MEMBER_LEFT: "xmpp.muc_member_left",
  18. MUC_ROLE_CHANGED: "xmpp.muc_role_changed",
  19. MUC_DESTROYED: "xmpp.muc_destroyed",
  20. DISPLAY_NAME_CHANGED: "xmpp.display_name_changed",
  21. REMOTE_STATS: "xmpp.remote_stats",
  22. LOCAL_ROLE_CHANGED: "xmpp.localrole_changed",
  23. PRESENCE_STATUS: "xmpp.presence_status",
  24. RESERVATION_ERROR: "xmpp.room_reservation_error",
  25. SUBJECT_CHANGED: "xmpp.subject_changed",
  26. MESSAGE_RECEIVED: "xmpp.message_received",
  27. SENDING_CHAT_MESSAGE: "xmpp.sending_chat_message",
  28. PASSWORD_REQUIRED: "xmpp.password_required",
  29. AUTHENTICATION_REQUIRED: "xmpp.authentication_required",
  30. CHAT_ERROR_RECEIVED: "xmpp.chat_error_received",
  31. ETHERPAD: "xmpp.etherpad",
  32. DEVICE_AVAILABLE: "xmpp.device_available",
  33. PEERCONNECTION_READY: "xmpp.peerconnection_ready",
  34. CONFERENCE_SETUP_FAILED: "xmpp.conference_setup_failed",
  35. AUDIO_MUTED: "xmpp.audio_muted",
  36. VIDEO_MUTED: "xmpp.video_muted",
  37. AUDIO_MUTED_BY_FOCUS: "xmpp.audio_muted_by_focus",
  38. START_MUTED_SETTING_CHANGED: "xmpp.start_muted_setting_changed",
  39. START_MUTED_FROM_FOCUS: "xmpp.start_muted_from_focus",
  40. SET_LOCAL_DESCRIPTION_ERROR: 'xmpp.set_local_description_error',
  41. SET_REMOTE_DESCRIPTION_ERROR: 'xmpp.set_remote_description_error',
  42. CREATE_ANSWER_ERROR: 'xmpp.create_answer_error',
  43. JINGLE_FATAL_ERROR: 'xmpp.jingle_fatal_error',
  44. PROMPT_FOR_LOGIN: 'xmpp.prompt_for_login',
  45. FOCUS_DISCONNECTED: 'xmpp.focus_disconnected',
  46. ROOM_JOIN_ERROR: 'xmpp.room_join_error',
  47. ROOM_CONNECT_ERROR: 'xmpp.room_connect_error',
  48. // xmpp is connected and obtained user media
  49. READY_TO_JOIN: 'xmpp.ready_to_join'
  50. };
  51. module.exports = XMPPEvents;