Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

UIEvents.js 4.2KB

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