modified lib-jitsi-meet dev repo
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

JitsiConferenceEvents.js 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. * Fired just before the statistics module is disposed and it's the last chance
  18. * to submit some logs to the statistics service (ex. CallStats if enabled),
  19. * before it's disconnected.
  20. */
  21. export const BEFORE_STATISTICS_DISPOSED = "conference.beforeStatisticsDisposed";
  22. /**
  23. * Indicates that an error occured.
  24. */
  25. export const CONFERENCE_ERROR = "conference.error";
  26. /**
  27. * Indicates that conference failed.
  28. */
  29. export const CONFERENCE_FAILED = "conference.failed";
  30. /**
  31. * Indicates that conference has been joined. The event does NOT provide any
  32. * parameters to its listeners.
  33. */
  34. export const CONFERENCE_JOINED = "conference.joined";
  35. /**
  36. * Indicates that conference has been left.
  37. */
  38. export const CONFERENCE_LEFT = "conference.left";
  39. /**
  40. * Indicates that the connection to the conference has been interrupted for some
  41. * reason.
  42. */
  43. export const CONNECTION_INTERRUPTED = "conference.connectionInterrupted";
  44. /**
  45. * Indicates that the connection to the conference has been restored.
  46. */
  47. export const CONNECTION_RESTORED = "conference.connectionRestored";
  48. /**
  49. * New local connection statistics are received.
  50. * @deprecated Use ConnectionQualityEvents.LOCAL_STATS_UPDATED instead.
  51. */
  52. export const CONNECTION_STATS = "conference.connectionStats";
  53. /**
  54. * A user has changed it display name
  55. */
  56. export const DISPLAY_NAME_CHANGED = "conference.displayNameChanged";
  57. /**
  58. * The dominant speaker was changed.
  59. */
  60. export const DOMINANT_SPEAKER_CHANGED = "conference.dominantSpeaker";
  61. /**
  62. * Indicates that DTMF support changed.
  63. */
  64. export const DTMF_SUPPORT_CHANGED = "conference.dtmfSupportChanged";
  65. /**
  66. * Indicates that a message from another participant is received on data
  67. * channel.
  68. */
  69. export const ENDPOINT_MESSAGE_RECEIVED = "conference.endpoint_message_received";
  70. /**
  71. * You are included / excluded in somebody's last N set
  72. */
  73. export const IN_LAST_N_CHANGED = "conference.inLastNChanged";
  74. /**
  75. * You are kicked from the conference.
  76. */
  77. export const KICKED = "conferenece.kicked";
  78. /**
  79. * The Last N set is changed.
  80. */
  81. export const LAST_N_ENDPOINTS_CHANGED = "conference.lastNEndpointsChanged";
  82. /**
  83. * Indicates that the room has been locked or unlocked.
  84. */
  85. export const LOCK_STATE_CHANGED = "conference.lock_state_changed";
  86. /**
  87. * New text message was received.
  88. */
  89. export const MESSAGE_RECEIVED = "conference.messageReceived";
  90. /**
  91. * Event fired when JVB sends notification about interrupted/restored user's
  92. * ICE connection status. First argument is the ID of the participant and
  93. * the seconds is a boolean indicating if the connection is currently
  94. * active(true = active, false = interrupted).
  95. * The current status value can be obtained by calling
  96. * JitsiParticipant.isConnectionActive().
  97. */
  98. export const PARTICIPANT_CONN_STATUS_CHANGED
  99. = "conference.participant_conn_status_changed";
  100. /**
  101. * Indicates that a the value of a specific property of a specific participant
  102. * has changed.
  103. */
  104. export const PARTICIPANT_PROPERTY_CHANGED
  105. = "conference.participant_property_changed";
  106. /**
  107. * Indicates that phone number changed.
  108. */
  109. export const PHONE_NUMBER_CHANGED = "conference.phoneNumberChanged";
  110. /**
  111. * Indicates that recording state changed.
  112. */
  113. export const RECORDER_STATE_CHANGED = "conference.recorderStateChanged";
  114. /**
  115. * Indicates that start muted settings changed.
  116. */
  117. export const START_MUTED_POLICY_CHANGED
  118. = "conference.start_muted_policy_changed";
  119. /**
  120. * Indicates that the local user has started muted.
  121. */
  122. export const STARTED_MUTED = "conference.started_muted";
  123. /**
  124. * Indicates that subject of the conference has changed.
  125. */
  126. export const SUBJECT_CHANGED = "conference.subjectChanged";
  127. /**
  128. * Indicates that DTMF support changed.
  129. */
  130. export const SUSPEND_DETECTED = "conference.suspendDetected";
  131. /**
  132. * Event indicates that local user is talking while he muted himself
  133. */
  134. export const TALK_WHILE_MUTED = "conference.talk_while_muted";
  135. /**
  136. * A new media track was added to the conference. The event provides the
  137. * following parameters to its listeners:
  138. *
  139. * @param {JitsiTrack} track the added JitsiTrack
  140. */
  141. export const TRACK_ADDED = "conference.trackAdded";
  142. /**
  143. * Audio levels of a media track ( attached to the conference) was changed.
  144. */
  145. export const TRACK_AUDIO_LEVEL_CHANGED = "conference.audioLevelsChanged";
  146. /**
  147. * A media track ( attached to the conference) mute status was changed.
  148. */
  149. export const TRACK_MUTE_CHANGED = "conference.trackMuteChanged";
  150. /**
  151. * The media track was removed from the conference. The event provides the
  152. * following parameters to its listeners:
  153. *
  154. * @param {JitsiTrack} track the removed JitsiTrack
  155. */
  156. export const TRACK_REMOVED = "conference.trackRemoved";
  157. /**
  158. * A new user joinned the conference.
  159. */
  160. export const USER_JOINED = "conference.userJoined";
  161. /**
  162. * A user has left the conference.
  163. */
  164. export const USER_LEFT = "conference.userLeft";
  165. /**
  166. * User role changed.
  167. */
  168. export const USER_ROLE_CHANGED = "conference.roleChanged";
  169. /**
  170. * User status changed.
  171. */
  172. export const USER_STATUS_CHANGED = "conference.statusChanged";