Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

JitsiConferenceEvents.js 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. * New text message was received.
  32. */
  33. MESSAGE_RECEIVED: "conference.messageReceived",
  34. /**
  35. * A user has changed it display name
  36. */
  37. DISPLAY_NAME_CHANGED: "conference.displayNameChanged",
  38. /**
  39. * A participant avatar has changed.
  40. */
  41. AVATAR_CHANGED: "conference.avatarChanged",
  42. /**
  43. * New connection statistics are received.
  44. */
  45. CONNECTION_STATS_RECEIVED: "conference.connectionStatsReceived",
  46. /**
  47. * The Last N set is changed.
  48. */
  49. LAST_N_ENDPOINTS_CHANGED: "conference.lastNEndpointsChanged",
  50. /**
  51. * You are included / excluded in somebody's last N set
  52. */
  53. IN_LAST_N_CHANGED: "conference.lastNEndpointsChanged",
  54. /**
  55. * A media track ( attached to the conference) mute status was changed.
  56. */
  57. TRACK_MUTE_CHANGED: "conference.trackMuteChanged",
  58. /**
  59. * Audio levels of a media track ( attached to the conference) was changed.
  60. */
  61. TRACK_AUDIO_LEVEL_CHANGED: "conference.audioLevelsChanged",
  62. /**
  63. * Indicates that the connection to the conference has been interrupted
  64. * for some reason.
  65. */
  66. CONNECTION_INTERRUPTED: "conference.connectionInterrupted",
  67. /**
  68. * Indicates that the connection to the conference has been restored.
  69. */
  70. CONNECTION_RESTORED: "conference.connectionRestored",
  71. /**
  72. * Indicates that conference failed.
  73. */
  74. CONFERENCE_FAILED: "conference.failed",
  75. /**
  76. * Indicates that conference has been joined.
  77. */
  78. CONFERENCE_JOINED: "conference.joined",
  79. /**
  80. * Indicates that conference has been left.
  81. */
  82. CONFERENCE_LEFT: "conference.left",
  83. /**
  84. * You are kicked from the conference.
  85. */
  86. KICKED: "conferenece.kicked",
  87. /**
  88. * Indicates that start muted settings changed.
  89. */
  90. START_MUTED: "conference.start_muted",
  91. /**
  92. * Indicates that DTMF support changed.
  93. */
  94. DTMF_SUPPORT_CHANGED: "conference.dtmfSupportChanged",
  95. /**
  96. * Indicates that recording state changed.
  97. */
  98. RECORDING_STATE_CHANGED: "conference.recordingStateChanged",
  99. /**
  100. * Indicates that phone number changed.
  101. */
  102. PHONE_NUMBER_CHANGED: "conference.phoneNumberChanged"
  103. };
  104. module.exports = JitsiConferenceEvents;