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

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