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

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