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 3.5KB

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