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.1KB

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