您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

JitsiConferenceEvents.js 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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_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 mute status was changed.
  52. */
  53. TRACK_MUTE_CHANGED: "conference.trackMuteChanged",
  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
  60. * for some reason.
  61. */
  62. CONNECTION_INTERRUPTED: "conference.connecionInterrupted",
  63. /**
  64. * Indicates that the connection to the conference has been restored.
  65. */
  66. CONNECTION_RESTORED: "conference.connecionRestored",
  67. /**
  68. * Indicates that conference has been joined.
  69. */
  70. CONFERENCE_JOINED: "conference.joined",
  71. /**
  72. * Indicates that conference has been left.
  73. */
  74. CONFERENCE_LEFT: "conference.left"
  75. };
  76. module.exports = JitsiConferenceEvents;