2015-12-10 13:30:25 +00:00
|
|
|
export default {
|
2015-01-27 12:03:26 +00:00
|
|
|
NICKNAME_CHANGED: "UI.nickname_changed",
|
|
|
|
SELECTED_ENDPOINT: "UI.selected_endpoint",
|
2015-07-29 19:39:09 +00:00
|
|
|
PINNED_ENDPOINT: "UI.pinned_endpoint",
|
2015-12-01 12:53:01 +00:00
|
|
|
/**
|
|
|
|
* Notifies that local user created text message.
|
|
|
|
*/
|
|
|
|
MESSAGE_CREATED: "UI.message_created",
|
2015-12-01 13:41:58 +00:00
|
|
|
/**
|
|
|
|
* Notifies that local user changed language.
|
|
|
|
*/
|
|
|
|
LANG_CHANGED: "UI.lang_changed",
|
|
|
|
/**
|
|
|
|
* Notifies that local user changed email.
|
|
|
|
*/
|
|
|
|
EMAIL_CHANGED: "UI.email_changed",
|
|
|
|
/**
|
|
|
|
* Notifies that "start muted" settings changed.
|
|
|
|
*/
|
|
|
|
START_MUTED_CHANGED: "UI.start_muted_changed",
|
2015-12-03 13:11:01 +00:00
|
|
|
AUDIO_MUTED: "UI.audio_muted",
|
|
|
|
VIDEO_MUTED: "UI.video_muted",
|
2015-12-09 13:09:12 +00:00
|
|
|
ETHERPAD_CLICKED: "UI.etherpad_clicked",
|
2016-03-22 20:04:52 +00:00
|
|
|
SHARED_VIDEO_CLICKED: "UI.start_shared_video",
|
2016-10-12 00:08:24 +00:00
|
|
|
/**
|
|
|
|
* Indicates that an invite button has been clicked.
|
|
|
|
*/
|
|
|
|
INVITE_CLICKED: "UI.invite_clicked",
|
2016-03-18 20:00:55 +00:00
|
|
|
/**
|
|
|
|
* Updates shared video with params: url, state, time(optional)
|
|
|
|
* Where url is the video link, state is stop/start/pause and time is the
|
|
|
|
* current video playing time.
|
|
|
|
*/
|
2016-03-22 19:57:36 +00:00
|
|
|
UPDATE_SHARED_VIDEO: "UI.update_shared_video",
|
2015-12-14 12:26:50 +00:00
|
|
|
USER_KICKED: "UI.user_kicked",
|
2015-12-31 22:02:03 +00:00
|
|
|
REMOTE_AUDIO_MUTED: "UI.remote_audio_muted",
|
2015-12-10 13:30:25 +00:00
|
|
|
FULLSCREEN_TOGGLE: "UI.fullscreen_toggle",
|
|
|
|
AUTH_CLICKED: "UI.auth_clicked",
|
|
|
|
TOGGLE_CHAT: "UI.toggle_chat",
|
|
|
|
TOGGLE_SETTINGS: "UI.toggle_settings",
|
2015-12-10 16:36:03 +00:00
|
|
|
TOGGLE_CONTACT_LIST: "UI.toggle_contact_list",
|
2016-09-11 21:54:32 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the profile toolbar button has been clicked.
|
|
|
|
*/
|
|
|
|
TOGGLE_PROFILE: "UI.toggle_profile",
|
2016-03-11 10:54:06 +00:00
|
|
|
/**
|
|
|
|
* Notifies that a command to toggle the film strip has been issued. The
|
|
|
|
* event may optionally specify a {Boolean} (primitive) value to assign to
|
|
|
|
* the visibility of the film strip (i.e. the event may act as a setter).
|
|
|
|
* The very toggling of the film strip may or may not occurred at the time
|
|
|
|
* of the receipt of the event depending on the position of the receiving
|
|
|
|
* event listener in relation to the event listener which carries out the
|
|
|
|
* command to toggle the film strip.
|
|
|
|
*
|
|
|
|
* @see {TOGGLED_FILM_STRIP}
|
|
|
|
*/
|
2015-12-10 16:36:03 +00:00
|
|
|
TOGGLE_FILM_STRIP: "UI.toggle_film_strip",
|
2016-03-11 10:55:29 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the film strip was (actually) toggled. The event supplies
|
|
|
|
* a {Boolean} (primitive) value indicating the visibility of the film
|
|
|
|
* strip after the toggling (at the time of the event emission).
|
|
|
|
*
|
|
|
|
* @see {TOGGLE_FILM_STRIP}
|
|
|
|
*/
|
2016-03-24 01:43:29 +00:00
|
|
|
TOGGLED_FILM_STRIP: "UI.toggled_film_strip",
|
2015-12-30 13:28:56 +00:00
|
|
|
TOGGLE_SCREENSHARING: "UI.toggle_screensharing",
|
2016-03-24 01:43:29 +00:00
|
|
|
TOGGLED_SHARED_DOCUMENT: "UI.toggled_shared_document",
|
2015-12-14 15:40:30 +00:00
|
|
|
CONTACT_CLICKED: "UI.contact_clicked",
|
2015-12-10 15:48:56 +00:00
|
|
|
HANGUP: "UI.hangup",
|
|
|
|
LOGOUT: "UI.logout",
|
2016-03-29 17:13:54 +00:00
|
|
|
RECORDING_TOGGLED: "UI.recording_toggled",
|
2016-01-14 14:23:06 +00:00
|
|
|
SIP_DIAL: "UI.sip_dial",
|
2016-03-24 01:43:29 +00:00
|
|
|
SUBJECT_CHANGED: "UI.subject_changed",
|
2016-02-09 10:19:43 +00:00
|
|
|
VIDEO_DEVICE_CHANGED: "UI.video_device_changed",
|
2016-03-24 01:43:29 +00:00
|
|
|
AUDIO_DEVICE_CHANGED: "UI.audio_device_changed",
|
2016-05-05 14:34:15 +00:00
|
|
|
AUDIO_OUTPUT_DEVICE_CHANGED: "UI.audio_output_device_changed",
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2016-03-24 01:43:29 +00:00
|
|
|
/**
|
|
|
|
* Notifies interested listeners that the follow-me feature is enabled or
|
|
|
|
* disabled.
|
|
|
|
*/
|
2016-05-07 01:50:37 +00:00
|
|
|
FOLLOW_ME_ENABLED: "UI.follow_me_enabled",
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2016-05-07 01:50:37 +00:00
|
|
|
/**
|
|
|
|
* Notifies that flipX property of the local video is changed.
|
|
|
|
*/
|
2016-07-08 20:14:49 +00:00
|
|
|
LOCAL_FLIPX_CHANGED: "UI.local_flipx_changed",
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2016-07-08 20:14:49 +00:00
|
|
|
// An event which indicates that the resolution of a remote video has
|
|
|
|
// changed.
|
2016-08-10 19:13:32 +00:00
|
|
|
RESOLUTION_CHANGED: "UI.resolution_changed",
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2016-08-10 19:13:32 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the button "Go to webstore" is pressed on the dialog for
|
|
|
|
* external extension installation.
|
|
|
|
*/
|
|
|
|
OPEN_EXTENSION_STORE: "UI.open_extension_store",
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2016-08-10 19:13:32 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the button "Cancel" is pressed on the dialog for
|
|
|
|
* external extension installation.
|
|
|
|
*/
|
2016-09-08 22:34:16 +00:00
|
|
|
EXTERNAL_INSTALLATION_CANCELED: "UI.external_installation_canceled",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Notifies that the side toolbar container has been toggled. The actual
|
|
|
|
* event must contain the identifier of the container that has been toggled
|
|
|
|
* and information about toggle on or off.
|
|
|
|
*/
|
2016-09-14 21:26:17 +00:00
|
|
|
SIDE_TOOLBAR_CONTAINER_TOGGLED: "UI.side_container_toggled",
|
|
|
|
|
2016-09-16 05:09:26 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the raise hand has been changed.
|
|
|
|
*/
|
2016-09-16 15:17:49 +00:00
|
|
|
LOCAL_RAISE_HAND_CHANGED: "UI.local_raise_hand_changed",
|
2016-09-16 05:09:26 +00:00
|
|
|
|
2016-09-14 21:26:17 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the avatar is displayed or not on the largeVideo.
|
|
|
|
*/
|
2016-10-12 00:08:24 +00:00
|
|
|
LARGE_VIDEO_AVATAR_DISPLAYED: "UI.large_video_avatar_displayed",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Toggling room lock
|
|
|
|
*/
|
|
|
|
TOGGLE_ROOM_LOCK: "UI.toggle_room_lock",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Adding contact to contact list
|
|
|
|
*/
|
|
|
|
CONTACT_ADDED: "UI.contact_added",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Removing the contact from contact list
|
|
|
|
*/
|
|
|
|
CONTACT_REMOVED: "UI.contact_removed",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Indicates that a user avatar has changed.
|
|
|
|
*/
|
|
|
|
USER_AVATAR_CHANGED: "UI.user_avatar_changed",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Display name changed.
|
|
|
|
*/
|
|
|
|
DISPLAY_NAME_CHANGED: "UI.display_name_changed",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Indicates that the invite url has been initialised.
|
|
|
|
*/
|
|
|
|
INVITE_URL_INITIALISED: "UI.invite_url_initialised",
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Indicates that a password is required for the call.
|
|
|
|
*/
|
|
|
|
PASSWORD_REQUIRED: "UI.password_required"
|
2015-01-22 16:02:37 +00:00
|
|
|
};
|