Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

JitsiConferenceEvents.js 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. /**
  2. * The events for the conference.
  3. */
  4. /**
  5. * Indicates that authentication status changed.
  6. */
  7. export const AUTH_STATUS_CHANGED = "conference.auth_status_changed";
  8. /**
  9. * Indicates that available devices changed.
  10. */
  11. export const AVAILABLE_DEVICES_CHANGED = "conference.availableDevicesChanged";
  12. /**
  13. * A participant avatar has changed.
  14. */
  15. export const AVATAR_CHANGED = "conference.avatarChanged";
  16. /**
  17. * Indicates that an error occured.
  18. */
  19. export const CONFERENCE_ERROR = "conference.error";
  20. /**
  21. * Indicates that conference failed.
  22. */
  23. export const CONFERENCE_FAILED = "conference.failed";
  24. /**
  25. * Indicates that conference has been joined. The event does NOT provide any
  26. * parameters to its listeners.
  27. */
  28. export const CONFERENCE_JOINED = "conference.joined";
  29. /**
  30. * Indicates that conference has been left.
  31. */
  32. export const CONFERENCE_LEFT = "conference.left";
  33. /**
  34. * Indicates that the connection to the conference has been interrupted for some
  35. * reason.
  36. */
  37. export const CONNECTION_INTERRUPTED = "conference.connectionInterrupted";
  38. /**
  39. * Indicates that the connection to the conference has been restored.
  40. */
  41. export const CONNECTION_RESTORED = "conference.connectionRestored";
  42. /**
  43. * New local connection statistics are received.
  44. */
  45. export const CONNECTION_STATS = "conference.connectionStats";
  46. /**
  47. * A user has changed it display name
  48. */
  49. export const DISPLAY_NAME_CHANGED = "conference.displayNameChanged";
  50. /**
  51. * The dominant speaker was changed.
  52. */
  53. export const DOMINANT_SPEAKER_CHANGED = "conference.dominantSpeaker";
  54. /**
  55. * Indicates that DTMF support changed.
  56. */
  57. export const DTMF_SUPPORT_CHANGED = "conference.dtmfSupportChanged";
  58. /**
  59. * Indicates that a message from another participant is received on data
  60. * channel.
  61. */
  62. export const ENDPOINT_MESSAGE_RECEIVED = "conference.endpoint_message_received";
  63. /**
  64. * You are included / excluded in somebody's last N set
  65. */
  66. export const IN_LAST_N_CHANGED = "conference.inLastNChanged";
  67. /**
  68. * You are kicked from the conference.
  69. */
  70. export const KICKED = "conferenece.kicked";
  71. /**
  72. * The Last N set is changed.
  73. */
  74. export const LAST_N_ENDPOINTS_CHANGED = "conference.lastNEndpointsChanged";
  75. /**
  76. * Indicates that the room has been locked or unlocked.
  77. */
  78. export const LOCK_STATE_CHANGED = "conference.lock_state_changed";
  79. /**
  80. * New text message was received.
  81. */
  82. export const MESSAGE_RECEIVED = "conference.messageReceived";
  83. /**
  84. * Indicates that a the value of a specific property of a specific participant
  85. * has changed.
  86. */
  87. export const PARTICIPANT_PROPERTY_CHANGED
  88. = "conference.participant_property_changed";
  89. /**
  90. * Indicates that phone number changed.
  91. */
  92. export const PHONE_NUMBER_CHANGED = "conference.phoneNumberChanged";
  93. /**
  94. * Indicates that recording state changed.
  95. */
  96. export const RECORDER_STATE_CHANGED = "conference.recorderStateChanged";
  97. /**
  98. * Indicates that start muted settings changed.
  99. */
  100. export const START_MUTED_POLICY_CHANGED
  101. = "conference.start_muted_policy_changed";
  102. /**
  103. * Indicates that the local user has started muted.
  104. */
  105. export const STARTED_MUTED = "conference.started_muted";
  106. /**
  107. * Indicates that subject of the conference has changed.
  108. */
  109. export const SUBJECT_CHANGED = "conference.subjectChanged";
  110. /**
  111. * A new media track was added to the conference. The event provides the
  112. * following parameters to its listeners:
  113. *
  114. * @param {JitsiTrack} track the added JitsiTrack
  115. */
  116. export const TRACK_ADDED = "conference.trackAdded";
  117. /**
  118. * Audio levels of a media track ( attached to the conference) was changed.
  119. */
  120. export const TRACK_AUDIO_LEVEL_CHANGED = "conference.audioLevelsChanged";
  121. /**
  122. * A media track ( attached to the conference) mute status was changed.
  123. */
  124. export const TRACK_MUTE_CHANGED = "conference.trackMuteChanged";
  125. /**
  126. * The media track was removed from the conference. The event provides the
  127. * following parameters to its listeners:
  128. *
  129. * @param {JitsiTrack} track the removed JitsiTrack
  130. */
  131. export const TRACK_REMOVED = "conference.trackRemoved";
  132. /**
  133. * A new user joinned the conference.
  134. */
  135. export const USER_JOINED = "conference.userJoined";
  136. /**
  137. * A user has left the conference.
  138. */
  139. export const USER_LEFT = "conference.userLeft";
  140. /**
  141. * User role changed.
  142. */
  143. export const USER_ROLE_CHANGED = "conference.roleChanged";
  144. /**
  145. * User status changed.
  146. */
  147. export const USER_STATUS_CHANGED = "conference.statusChanged";