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

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