選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

JitsiConferenceEvents.js 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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_ESTABLISHED: "conference.connecionEstablished"
  66. };
  67. module.exports = JitsiConferenceEvents;