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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 local user changed avatar url.
  19. */
  20. AVATAR_URL_CHANGED: "UI.avatar_url_changed",
  21. /**
  22. * Notifies that "start muted" settings changed.
  23. */
  24. START_MUTED_CHANGED: "UI.start_muted_changed",
  25. AUDIO_MUTED: "UI.audio_muted",
  26. VIDEO_MUTED: "UI.video_muted",
  27. ETHERPAD_CLICKED: "UI.etherpad_clicked",
  28. SHARED_VIDEO_CLICKED: "UI.start_shared_video",
  29. /**
  30. * Updates shared video with params: url, state, time(optional)
  31. * Where url is the video link, state is stop/start/pause and time is the
  32. * current video playing time.
  33. */
  34. UPDATE_SHARED_VIDEO: "UI.update_shared_video",
  35. ROOM_LOCK_CLICKED: "UI.room_lock_clicked",
  36. USER_INVITED: "UI.user_invited",
  37. USER_KICKED: "UI.user_kicked",
  38. REMOTE_AUDIO_MUTED: "UI.remote_audio_muted",
  39. FULLSCREEN_TOGGLE: "UI.fullscreen_toggle",
  40. AUTH_CLICKED: "UI.auth_clicked",
  41. TOGGLE_CHAT: "UI.toggle_chat",
  42. TOGGLE_SETTINGS: "UI.toggle_settings",
  43. TOGGLE_CONTACT_LIST: "UI.toggle_contact_list",
  44. /**
  45. * Notifies that a command to toggle the film strip has been issued. The
  46. * event may optionally specify a {Boolean} (primitive) value to assign to
  47. * the visibility of the film strip (i.e. the event may act as a setter).
  48. * The very toggling of the film strip may or may not occurred at the time
  49. * of the receipt of the event depending on the position of the receiving
  50. * event listener in relation to the event listener which carries out the
  51. * command to toggle the film strip.
  52. *
  53. * @see {TOGGLED_FILM_STRIP}
  54. */
  55. TOGGLE_FILM_STRIP: "UI.toggle_film_strip",
  56. /**
  57. * Notifies that the film strip was (actually) toggled. The event supplies
  58. * a {Boolean} (primitive) value indicating the visibility of the film
  59. * strip after the toggling (at the time of the event emission).
  60. *
  61. * @see {TOGGLE_FILM_STRIP}
  62. */
  63. TOGGLED_FILM_STRIP: "UI.toggled_film_strip",
  64. TOGGLE_SCREENSHARING: "UI.toggle_screensharing",
  65. TOGGLED_SHARED_DOCUMENT: "UI.toggled_shared_document",
  66. CONTACT_CLICKED: "UI.contact_clicked",
  67. HANGUP: "UI.hangup",
  68. LOGOUT: "UI.logout",
  69. RECORDING_TOGGLED: "UI.recording_toggled",
  70. SIP_DIAL: "UI.sip_dial",
  71. SUBJECT_CHANGED: "UI.subject_changed",
  72. VIDEO_DEVICE_CHANGED: "UI.video_device_changed",
  73. AUDIO_DEVICE_CHANGED: "UI.audio_device_changed",
  74. AUDIO_OUTPUT_DEVICE_CHANGED: "UI.audio_output_device_changed",
  75. /**
  76. * Notifies interested listeners that the follow-me feature is enabled or
  77. * disabled.
  78. */
  79. FOLLOW_ME_ENABLED: "UI.follow_me_enabled",
  80. /**
  81. * Notifies that flipX property of the local video is changed.
  82. */
  83. LOCAL_FLIPX_CHANGED: "UI.local_flipx_changed"
  84. };