2015-12-10 13:30:25 +00:00
|
|
|
export default {
|
2017-10-12 23:02:29 +00:00
|
|
|
NICKNAME_CHANGED: 'UI.nickname_changed',
|
|
|
|
|
2015-12-01 13:41:58 +00:00
|
|
|
/**
|
|
|
|
* Notifies that local user changed email.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
EMAIL_CHANGED: 'UI.email_changed',
|
|
|
|
|
2015-12-01 13:41:58 +00:00
|
|
|
/**
|
|
|
|
* Notifies that "start muted" settings changed.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
AUDIO_MUTED: 'UI.audio_muted',
|
|
|
|
VIDEO_MUTED: 'UI.video_muted',
|
|
|
|
ETHERPAD_CLICKED: 'UI.etherpad_clicked',
|
|
|
|
SHARED_VIDEO_CLICKED: 'UI.start_shared_video',
|
|
|
|
|
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.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
UPDATE_SHARED_VIDEO: 'UI.update_shared_video',
|
|
|
|
TOGGLE_FULLSCREEN: 'UI.toogle_fullscreen',
|
|
|
|
FULLSCREEN_TOGGLED: 'UI.fullscreen_toggled',
|
|
|
|
AUTH_CLICKED: 'UI.auth_clicked',
|
|
|
|
|
2017-04-05 15:14:26 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the audio only mode was toggled.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
TOGGLE_AUDIO_ONLY: 'UI.toggle_audioonly',
|
|
|
|
|
2016-03-11 10:54:06 +00:00
|
|
|
/**
|
2017-04-10 17:59:44 +00:00
|
|
|
* Notifies that a command to toggle the filmstrip has been issued. The
|
2016-03-11 10:54:06 +00:00
|
|
|
* event may optionally specify a {Boolean} (primitive) value to assign to
|
2017-04-10 17:59:44 +00:00
|
|
|
* the visibility of the filmstrip (i.e. the event may act as a setter).
|
|
|
|
* The very toggling of the filmstrip may or may not occurred at the time
|
2016-03-11 10:54:06 +00:00
|
|
|
* 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
|
2017-04-10 17:59:44 +00:00
|
|
|
* command to toggle the filmstrip.
|
2016-03-11 10:54:06 +00:00
|
|
|
*
|
2017-04-10 17:59:44 +00:00
|
|
|
* @see {TOGGLED_FILMSTRIP}
|
2016-03-11 10:54:06 +00:00
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
TOGGLE_FILMSTRIP: 'UI.toggle_filmstrip',
|
|
|
|
|
|
|
|
TOGGLE_SCREENSHARING: 'UI.toggle_screensharing',
|
|
|
|
HANGUP: 'UI.hangup',
|
|
|
|
LOGOUT: 'UI.logout',
|
|
|
|
VIDEO_DEVICE_CHANGED: 'UI.video_device_changed',
|
|
|
|
AUDIO_DEVICE_CHANGED: 'UI.audio_device_changed',
|
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.
|
|
|
|
*/
|
2017-10-12 23:02:29 +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.
|
2017-10-12 23:02:29 +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 "Cancel" is pressed on the dialog for
|
|
|
|
* external extension installation.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
EXTERNAL_INSTALLATION_CANCELED: 'UI.external_installation_canceled',
|
2016-09-08 22:34:16 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
SIDE_TOOLBAR_CONTAINER_TOGGLED: 'UI.side_container_toggled',
|
2016-09-14 21:26:17 +00:00
|
|
|
|
2016-09-16 05:09:26 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the raise hand has been changed.
|
|
|
|
*/
|
2017-10-12 23:02:29 +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.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
LARGE_VIDEO_AVATAR_VISIBLE: 'UI.large_video_avatar_visible',
|
2016-09-15 15:37:32 +00:00
|
|
|
|
2017-01-10 18:51:25 +00:00
|
|
|
/**
|
|
|
|
* Notifies that the displayed particpant id on the largeVideo is changed.
|
|
|
|
*/
|
2017-10-12 23:02:29 +00:00
|
|
|
LARGE_VIDEO_ID_CHANGED: 'UI.large_video_id_changed'
|
2015-01-22 16:02:37 +00:00
|
|
|
};
|