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

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