Adds some docs.

pull/354/head
Boris Grozev 9 years ago
parent 6b94d3fe47
commit 82c45a2e38
  1. 10
      service/xmpp/XMPPEvents.js

@ -15,6 +15,8 @@ var XMPPEvents = {
KICKED: "xmpp.kicked", KICKED: "xmpp.kicked",
// Designates an event indicating that the userID for a specific JID has // Designates an event indicating that the userID for a specific JID has
// changed. // changed.
// Note: currently this event fires every time we receive presence from
// someone (regardless of whether or not the "userID" changed).
USER_ID_CHANGED: "xmpp.user_id_changed", USER_ID_CHANGED: "xmpp.user_id_changed",
// Designates an event indicating that we have joined the XMPP MUC. // Designates an event indicating that we have joined the XMPP MUC.
MUC_JOINED: "xmpp.muc_joined", MUC_JOINED: "xmpp.muc_joined",
@ -45,6 +47,8 @@ var XMPPEvents = {
SENDING_CHAT_MESSAGE: "xmpp.sending_chat_message", SENDING_CHAT_MESSAGE: "xmpp.sending_chat_message",
// Designates an event indicating that the video type (e.g. 'camera' or // Designates an event indicating that the video type (e.g. 'camera' or
// 'screen') for a participant has changed. // 'screen') for a participant has changed.
// Note: currently this event fires every time we receive presence from
// someone (regardless of whether or not the "video type" changed).
PARTICIPANT_VIDEO_TYPE_CHANGED: "xmpp.video_type", PARTICIPANT_VIDEO_TYPE_CHANGED: "xmpp.video_type",
// Designates an event indicating that a participant in the XMPP MUC has // Designates an event indicating that a participant in the XMPP MUC has
// advertised that they have audio muted (or unmuted). // advertised that they have audio muted (or unmuted).
@ -61,6 +65,11 @@ var XMPPEvents = {
// Designates an event indicating that we should join the conference with // Designates an event indicating that we should join the conference with
// audio and/or video muted. // audio and/or video muted.
START_MUTED_FROM_FOCUS: "xmpp.start_muted_from_focus", START_MUTED_FROM_FOCUS: "xmpp.start_muted_from_focus",
// Designates an event indicating that a remote participant's available
// devices (whether he supports a audio and/or video) changed.
// Note: currently this event fires every time we receive presence from
// someone (regardless of whether or not the devices changed).
DEVICE_AVAILABLE: "xmpp.device_available",
PEERCONNECTION_READY: "xmpp.peerconnection_ready", PEERCONNECTION_READY: "xmpp.peerconnection_ready",
@ -69,7 +78,6 @@ var XMPPEvents = {
AUTHENTICATION_REQUIRED: "xmpp.authentication_required", AUTHENTICATION_REQUIRED: "xmpp.authentication_required",
CHAT_ERROR_RECEIVED: "xmpp.chat_error_received", CHAT_ERROR_RECEIVED: "xmpp.chat_error_received",
ETHERPAD: "xmpp.etherpad", ETHERPAD: "xmpp.etherpad",
DEVICE_AVAILABLE: "xmpp.device_available",
BRIDGE_DOWN: "xmpp.bridge_down", BRIDGE_DOWN: "xmpp.bridge_down",
PRESENCE_STATUS: "xmpp.presence_status", PRESENCE_STATUS: "xmpp.presence_status",
RESERVATION_ERROR: "xmpp.room_reservation_error", RESERVATION_ERROR: "xmpp.room_reservation_error",

Loading…
Cancel
Save