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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 dominant speaker was changed.
  16. */
  17. DOMINANT_SPEAKER_CHANGED: "conference.dominantSpeaker",
  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. * User role changed.
  28. */
  29. USER_ROLE_CHANGED: "conference.roleChanged",
  30. /**
  31. * User status changed.
  32. */
  33. USER_STATUS_CHANGED: "conference.statusChanged",
  34. /**
  35. * New text message was received.
  36. */
  37. MESSAGE_RECEIVED: "conference.messageReceived",
  38. /**
  39. * A user has changed it display name
  40. */
  41. DISPLAY_NAME_CHANGED: "conference.displayNameChanged",
  42. /**
  43. * A participant avatar has changed.
  44. */
  45. AVATAR_CHANGED: "conference.avatarChanged",
  46. /**
  47. * New connection statistics are received.
  48. */
  49. CONNECTION_STATS_RECEIVED: "conference.connectionStatsReceived",
  50. /**
  51. * The Last N set is changed.
  52. */
  53. LAST_N_ENDPOINTS_CHANGED: "conference.lastNEndpointsChanged",
  54. /**
  55. * You are included / excluded in somebody's last N set
  56. */
  57. IN_LAST_N_CHANGED: "conference.lastNEndpointsChanged",
  58. /**
  59. * A media track ( attached to the conference) mute status was changed.
  60. */
  61. TRACK_MUTE_CHANGED: "conference.trackMuteChanged",
  62. /**
  63. * Audio levels of a media track ( attached to the conference) was changed.
  64. */
  65. TRACK_AUDIO_LEVEL_CHANGED: "conference.audioLevelsChanged",
  66. /**
  67. * Indicates that the connection to the conference has been interrupted
  68. * for some reason.
  69. */
  70. CONNECTION_INTERRUPTED: "conference.connectionInterrupted",
  71. /**
  72. * Indicates that the connection to the conference has been restored.
  73. */
  74. CONNECTION_RESTORED: "conference.connectionRestored",
  75. /**
  76. * Indicates that conference failed.
  77. */
  78. CONFERENCE_FAILED: "conference.failed",
  79. /**
  80. * Indicates that conference has been joined.
  81. */
  82. CONFERENCE_JOINED: "conference.joined",
  83. /**
  84. * Indicates that conference has been left.
  85. */
  86. CONFERENCE_LEFT: "conference.left",
  87. /**
  88. * You are kicked from the conference.
  89. */
  90. KICKED: "conferenece.kicked",
  91. /**
  92. * Indicates that start muted settings changed.
  93. */
  94. START_MUTED_POLICY_CHANGED: "conference.start_muted_policy_changed",
  95. /**
  96. * Indicates that the local user has started muted.
  97. */
  98. STARTED_MUTED: "conference.started_muted",
  99. /**
  100. * Indicates that DTMF support changed.
  101. */
  102. DTMF_SUPPORT_CHANGED: "conference.dtmfSupportChanged",
  103. /**
  104. * Indicates that recording state changed.
  105. */
  106. RECORDING_STATE_CHANGED: "conference.recordingStateChanged",
  107. /**
  108. * Indicates that phone number changed.
  109. */
  110. PHONE_NUMBER_CHANGED: "conference.phoneNumberChanged",
  111. /**
  112. * Indicates that to proceed with screen sharing
  113. * browser extension must be installed first.
  114. */
  115. FIREFOX_EXTENSION_NEEDED: "conference.firefoxExtensionRequired"
  116. };
  117. module.exports = JitsiConferenceEvents;