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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. SHARED_VIDEO_CLICKED: 'UI.start_shared_video',
  14. /**
  15. * Updates shared video with params: url, state, time(optional)
  16. * Where url is the video link, state is stop/start/pause and time is the
  17. * current video playing time.
  18. */
  19. UPDATE_SHARED_VIDEO: 'UI.update_shared_video',
  20. TOGGLE_FULLSCREEN: 'UI.toogle_fullscreen',
  21. FULLSCREEN_TOGGLED: 'UI.fullscreen_toggled',
  22. AUTH_CLICKED: 'UI.auth_clicked',
  23. /**
  24. * Notifies that the audio only mode was toggled.
  25. */
  26. TOGGLE_AUDIO_ONLY: 'UI.toggle_audioonly',
  27. /**
  28. * Notifies that a command to toggle the filmstrip has been issued. The
  29. * event may optionally specify a {Boolean} (primitive) value to assign to
  30. * the visibility of the filmstrip (i.e. the event may act as a setter).
  31. * The very toggling of the filmstrip may or may not occurred at the time
  32. * of the receipt of the event depending on the position of the receiving
  33. * event listener in relation to the event listener which carries out the
  34. * command to toggle the filmstrip.
  35. *
  36. * @see {TOGGLED_FILMSTRIP}
  37. */
  38. TOGGLE_FILMSTRIP: 'UI.toggle_filmstrip',
  39. TOGGLE_SCREENSHARING: 'UI.toggle_screensharing',
  40. HANGUP: 'UI.hangup',
  41. LOGOUT: 'UI.logout',
  42. VIDEO_DEVICE_CHANGED: 'UI.video_device_changed',
  43. AUDIO_DEVICE_CHANGED: 'UI.audio_device_changed',
  44. /**
  45. * Notifies that flipX property of the local video is changed.
  46. */
  47. LOCAL_FLIPX_CHANGED: 'UI.local_flipx_changed',
  48. /**
  49. * Notifies that the side toolbar container has been toggled. The actual
  50. * event must contain the identifier of the container that has been toggled
  51. * and information about toggle on or off.
  52. */
  53. SIDE_TOOLBAR_CONTAINER_TOGGLED: 'UI.side_container_toggled',
  54. /**
  55. * Notifies that the raise hand has been changed.
  56. */
  57. LOCAL_RAISE_HAND_CHANGED: 'UI.local_raise_hand_changed',
  58. /**
  59. * Notifies that the avatar is displayed or not on the largeVideo.
  60. */
  61. LARGE_VIDEO_AVATAR_VISIBLE: 'UI.large_video_avatar_visible',
  62. /**
  63. * Notifies that the displayed particpant id on the largeVideo is changed.
  64. */
  65. LARGE_VIDEO_ID_CHANGED: 'UI.large_video_id_changed'
  66. };