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.

JitsiConferenceEvents.js 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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 to 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_CHANGED: "conference.lastNChanged",
  46. /**
  47. * A media track was muted.
  48. */
  49. TRACK_MUTED: "conference.trackMuted",
  50. /**
  51. * A media track was unmuted.
  52. */
  53. TRACK_UNMUTED: "conference.trackUnmuted",
  54. /**
  55. * Audio levels of a media track was changed.
  56. */
  57. TRACK_AUDIO_LEVEL_CHANGED: "conference.audioLevelsChanged",
  58. /**
  59. * Indicates that the connection to the conference has been interrupted for some reason.
  60. */
  61. CONNECTION_INTERRUPTED: "conference.connecionInterrupted",
  62. /**
  63. * Indicates that the connection to the conference has been restored.
  64. */
  65. CONNECTION_RESTORED: "conference.connecionRestored",
  66. /**
  67. * Indicates that conference has been joined.
  68. */
  69. CONFERENCE_JOINED: "conference.joined",
  70. /**
  71. * Indicates that conference has been left.
  72. */
  73. CONFERENCE_LEFT: "conference.left"
  74. };
  75. module.exports = JitsiConferenceEvents;