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.

UIEvents.js 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. export default {
  2. NICKNAME_CHANGED: 'UI.nickname_changed',
  3. /**
  4. * Notifies that local user changed email.
  5. */
  6. EMAIL_CHANGED: 'UI.email_changed',
  7. /**
  8. * Notifies that "start muted" settings changed.
  9. */
  10. AUDIO_MUTED: 'UI.audio_muted',
  11. VIDEO_MUTED: 'UI.video_muted',
  12. ETHERPAD_CLICKED: 'UI.etherpad_clicked',
  13. SHARED_VIDEO_CLICKED: 'UI.start_shared_video',
  14. /**
  15. * Updates shared video with params: url, state, time(optional)
  16. * Where url is the video link, state is stop/start/pause and time is the
  17. * current video playing time.
  18. */
  19. UPDATE_SHARED_VIDEO: 'UI.update_shared_video',
  20. TOGGLE_FULLSCREEN: 'UI.toogle_fullscreen',
  21. FULLSCREEN_TOGGLED: 'UI.fullscreen_toggled',
  22. AUTH_CLICKED: 'UI.auth_clicked',
  23. /**
  24. * Notifies that the audio only mode was toggled.
  25. */
  26. TOGGLE_AUDIO_ONLY: 'UI.toggle_audioonly',
  27. /**
  28. * Notifies that a command to toggle the filmstrip has been issued. The
  29. * event may optionally specify a {Boolean} (primitive) value to assign to
  30. * the visibility of the filmstrip (i.e. the event may act as a setter).
  31. * The very toggling of the filmstrip may or may not occurred at the time
  32. * of the receipt of the event depending on the position of the receiving
  33. * event listener in relation to the event listener which carries out the
  34. * command to toggle the filmstrip.
  35. *
  36. * @see {TOGGLED_FILMSTRIP}
  37. */
  38. TOGGLE_FILMSTRIP: 'UI.toggle_filmstrip',
  39. TOGGLE_SCREENSHARING: 'UI.toggle_screensharing',
  40. HANGUP: 'UI.hangup',
  41. LOGOUT: 'UI.logout',
  42. VIDEO_DEVICE_CHANGED: 'UI.video_device_changed',
  43. AUDIO_DEVICE_CHANGED: 'UI.audio_device_changed',
  44. /**
  45. * Notifies that flipX property of the local video is changed.
  46. */
  47. LOCAL_FLIPX_CHANGED: 'UI.local_flipx_changed',
  48. // An event which indicates that the resolution of a remote video has
  49. // changed.
  50. RESOLUTION_CHANGED: 'UI.resolution_changed',
  51. /**
  52. * Notifies that the button "Cancel" is pressed on the dialog for
  53. * external extension installation.
  54. */
  55. EXTERNAL_INSTALLATION_CANCELED: 'UI.external_installation_canceled',
  56. /**
  57. * Notifies that the side toolbar container has been toggled. The actual
  58. * event must contain the identifier of the container that has been toggled
  59. * and information about toggle on or off.
  60. */
  61. SIDE_TOOLBAR_CONTAINER_TOGGLED: 'UI.side_container_toggled',
  62. /**
  63. * Notifies that the raise hand has been changed.
  64. */
  65. LOCAL_RAISE_HAND_CHANGED: 'UI.local_raise_hand_changed',
  66. /**
  67. * Notifies that the avatar is displayed or not on the largeVideo.
  68. */
  69. LARGE_VIDEO_AVATAR_VISIBLE: 'UI.large_video_avatar_visible',
  70. /**
  71. * Notifies that the displayed particpant id on the largeVideo is changed.
  72. */
  73. LARGE_VIDEO_ID_CHANGED: 'UI.large_video_id_changed'
  74. };