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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. export default {
  2. NICKNAME_CHANGED: 'UI.nickname_changed',
  3. /**
  4. * Notifies that local user changed email.
  5. */
  6. EMAIL_CHANGED: 'UI.email_changed',
  7. /**
  8. * Notifies that "start muted" settings changed.
  9. */
  10. AUDIO_MUTED: 'UI.audio_muted',
  11. VIDEO_MUTED: 'UI.video_muted',
  12. ETHERPAD_CLICKED: 'UI.etherpad_clicked',
  13. /**
  14. * Updates shared video with params: url, state, time(optional)
  15. * Where url is the video link, state is stop/start/pause and time is the
  16. * current video playing time.
  17. */
  18. TOGGLE_FULLSCREEN: 'UI.toogle_fullscreen',
  19. FULLSCREEN_TOGGLED: 'UI.fullscreen_toggled',
  20. AUTH_CLICKED: 'UI.auth_clicked',
  21. /**
  22. * Notifies that the audio only mode was toggled.
  23. */
  24. TOGGLE_AUDIO_ONLY: 'UI.toggle_audioonly',
  25. /**
  26. * Notifies that a command to toggle the filmstrip has been issued. The
  27. * event may optionally specify a {Boolean} (primitive) value to assign to
  28. * the visibility of the filmstrip (i.e. the event may act as a setter).
  29. * The very toggling of the filmstrip may or may not occurred at the time
  30. * of the receipt of the event depending on the position of the receiving
  31. * event listener in relation to the event listener which carries out the
  32. * command to toggle the filmstrip.
  33. *
  34. * @see {TOGGLED_FILMSTRIP}
  35. */
  36. TOGGLE_FILMSTRIP: 'UI.toggle_filmstrip',
  37. TOGGLE_SCREENSHARING: 'UI.toggle_screensharing',
  38. HANGUP: 'UI.hangup',
  39. LOGOUT: 'UI.logout',
  40. VIDEO_DEVICE_CHANGED: 'UI.video_device_changed',
  41. AUDIO_DEVICE_CHANGED: 'UI.audio_device_changed',
  42. /**
  43. * Notifies that the side toolbar container has been toggled. The actual
  44. * event must contain the identifier of the container that has been toggled
  45. * and information about toggle on or off.
  46. */
  47. SIDE_TOOLBAR_CONTAINER_TOGGLED: 'UI.side_container_toggled',
  48. /**
  49. * Notifies that the raise hand has been changed.
  50. */
  51. LOCAL_RAISE_HAND_CHANGED: 'UI.local_raise_hand_changed'
  52. };