Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

JitsiConferenceEvents.js 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /**
  2. * Enumeration with the events for the conference.
  3. * @type {{string: string}}
  4. */
  5. var JitsiConferenceEvents = {
  6. /**
  7. * A new media track was added to the conference.
  8. */
  9. TRACK_ADDED: "conference.trackAdded",
  10. /**
  11. * The media track was removed from the conference.
  12. */
  13. TRACK_REMOVED: "conference.trackRemoved",
  14. /**
  15. * The active speaker was changed.
  16. */
  17. ACTIVE_SPEAKER_CHANGED: "conference.activeSpeaker",
  18. /**
  19. * A new user joinned the conference.
  20. */
  21. USER_JOINED: "conference.userJoined",
  22. /**
  23. * A user has left the conference.
  24. */
  25. USER_LEFT: "conference.userLeft",
  26. /**
  27. * New text message was received.
  28. */
  29. MESSAGE_RECEIVED: "conference.messageReceived",
  30. /**
  31. * A user has changed it display name
  32. */
  33. DISPLAY_NAME_CHANGED: "conference.displayNameChanged",
  34. /**
  35. * A participant avatar has changed.
  36. */
  37. AVATAR_CHANGED: "conference.avatarChanged",
  38. /**
  39. * New connection statistics are received.
  40. */
  41. CONNECTION_STATS_RECEIVED: "conference.connectionStatsReceived",
  42. /**
  43. * The Last N set is changed.
  44. */
  45. LAST_N_ENDPOINTS_CHANGED: "conference.lastNEndpointsChanged",
  46. /**
  47. * You are included / excluded in somebody's last N set
  48. */
  49. IN_LAST_N_CHANGED: "conference.lastNEndpointsChanged",
  50. /**
  51. * A media track ( attached to the conference) mute status was changed.
  52. */
  53. TRACK_MUTE_CHANGED: "conference.trackMuteChanged",
  54. /**
  55. * Audio levels of a media track ( attached to the conference) was changed.
  56. */
  57. TRACK_AUDIO_LEVEL_CHANGED: "conference.audioLevelsChanged",
  58. /**
  59. * Indicates that the connection to the conference has been interrupted
  60. * for some reason.
  61. */
  62. CONNECTION_INTERRUPTED: "conference.connectionInterrupted",
  63. /**
  64. * Indicates that the connection to the conference has been restored.
  65. */
  66. CONNECTION_RESTORED: "conference.connectionRestored",
  67. /**
  68. * Indicates that the conference setup failed.
  69. */
  70. SETUP_FAILED: "conference.setup_failed",
  71. /**
  72. * Indicates that conference has been joined.
  73. */
  74. CONFERENCE_JOINED: "conference.joined",
  75. /**
  76. * Indicates that conference has been left.
  77. */
  78. CONFERENCE_LEFT: "conference.left"
  79. };
  80. module.exports = JitsiConferenceEvents;