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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. HANGUP: 'UI.hangup',
  38. LOGOUT: 'UI.logout',
  39. VIDEO_DEVICE_CHANGED: 'UI.video_device_changed',
  40. AUDIO_DEVICE_CHANGED: 'UI.audio_device_changed',
  41. /**
  42. * Notifies that the side toolbar container has been toggled. The actual
  43. * event must contain the identifier of the container that has been toggled
  44. * and information about toggle on or off.
  45. */
  46. SIDE_TOOLBAR_CONTAINER_TOGGLED: 'UI.side_container_toggled',
  47. /**
  48. * Notifies that the raise hand has been changed.
  49. */
  50. LOCAL_RAISE_HAND_CHANGED: 'UI.local_raise_hand_changed'
  51. };