You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AnalyticsEvents.js 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. /**
  2. * The target of a pin or unpin event was the local participant.
  3. *
  4. * Known full event names:
  5. * pinned.local
  6. * unpinned.local
  7. *
  8. * @type {String}
  9. */
  10. export const _LOCAL = 'local';
  11. /**
  12. * The target of a pin or unpin event was a remote participant.
  13. *
  14. * Known full event names:
  15. * pinned.remote
  16. * unpinned.remote
  17. *
  18. * @type {String}
  19. */
  20. export const _REMOTE = 'remote';
  21. /**
  22. * Audio mute toggled was triggered through the jitsi-meet api.
  23. *
  24. * @type {String}
  25. */
  26. export const API_TOGGLE_AUDIO = 'api.toggle.audio';
  27. /**
  28. * Video mute toggling was triggered through the jitsi-meet api.
  29. *
  30. * @type {String}
  31. */
  32. export const API_TOGGLE_VIDEO = 'api.toggle.video';
  33. /**
  34. * Audio only mode has been turned off.
  35. *
  36. * @type {String}
  37. */
  38. export const AUDIO_ONLY_DISABLED = 'audioonly.disabled';
  39. /**
  40. * The login button in the profile pane was clicked.
  41. *
  42. * @type {String}
  43. */
  44. export const AUTHENTICATE_LOGIN_CLICKED = 'authenticate.login.clicked';
  45. /**
  46. * The logout button in the profile pane was clicked.
  47. *
  48. * @type {String}
  49. */
  50. export const AUTHENTICATE_LOGOUT_CLICKED = 'authenticate.logout.clicked';
  51. /**
  52. * Performing a mute or unmute event based on a callkit setMuted event.
  53. *
  54. * Known full event names:
  55. * callkit.audio.muted
  56. * callkit.audio.unmuted
  57. *
  58. * @type {String}
  59. */
  60. export const CALLKIT_AUDIO_ = 'callkit.audio';
  61. /**
  62. * Toggling remote and local video display when entering or exiting backgrounded
  63. * app state.
  64. *
  65. * @type {String}
  66. */
  67. export const CALLKIT_BACKGROUND_VIDEO_MUTED = 'callkit.background.video.muted';
  68. /**
  69. * The local participant joined audio muted.
  70. *
  71. * @type {String}
  72. */
  73. export const CONFERENCE_AUDIO_INITIALLY_MUTED
  74. = 'conference.audio.initiallyMuted';
  75. /**
  76. * The local participant has started desktop sharing.
  77. *
  78. * @type {String}
  79. */
  80. export const CONFERENCE_SHARING_DESKTOP_START
  81. = 'conference.sharingDesktop.start';
  82. /**
  83. * The local participant was desktop sharing but has stopped.
  84. *
  85. * @type {String}
  86. */
  87. export const CONFERENCE_SHARING_DESKTOP_STOP
  88. = 'conference.sharingDesktop.stop';
  89. /**
  90. * The local participant joined video muted.
  91. *
  92. * @type {String}
  93. */
  94. export const CONFERENCE_VIDEO_INITIALLY_MUTED
  95. = 'conference.video.initiallyMuted';
  96. /**
  97. * The list of known input/output devices was changed and new audio input has
  98. * been used and should start as muted.
  99. *
  100. * @type {String}
  101. */
  102. export const DEVICE_LIST_CHANGED_AUDIO_MUTED = 'deviceListChanged.audio.muted';
  103. /**
  104. * The list of known devices was changed and new video input has been used
  105. * and should start as muted.
  106. *
  107. * @type {String}
  108. */
  109. export const DEVICE_LIST_CHANGED_VIDEO_MUTED = 'deviceListChanged.video.muted';
  110. /**
  111. * The feedback dialog is displayed.
  112. *
  113. * @type {String}
  114. */
  115. export const FEEDBACK_OPEN = 'feedback.open';
  116. /**
  117. * Page reload overlay has been displayed.
  118. *
  119. * Properties: label: reason for reload
  120. *
  121. * @type {String}
  122. */
  123. export const PAGE_RELOAD = 'page.reload';
  124. /**
  125. * The local participant has pinned a participant to remain on large video.
  126. *
  127. * Known full event names:
  128. * pinned.local
  129. * pinned.remote
  130. *
  131. * @type {String}
  132. */
  133. export const PINNED_ = 'pinned';
  134. /**
  135. * Recording start was attempted but the local user canceled the request.
  136. *
  137. * @type {String}
  138. */
  139. export const RECORDING_CANCELED = 'recording.canceled';
  140. /**
  141. * Recording button has been clicked.
  142. *
  143. * @type {String}
  144. */
  145. export const RECORDING_CLICKED = 'recording.clicked';
  146. /**
  147. * Recording has been started.
  148. *
  149. * @type {String}
  150. */
  151. export const RECORDING_STARTED = 'recording.started';
  152. /**
  153. * Recording has been stopped by clicking the recording button.
  154. *
  155. * @type {String}
  156. */
  157. export const RECORDING_STOPPED = 'recording.stopped';
  158. /**
  159. * Clicked on the button to kick a remote participant from the conference.
  160. *
  161. * Properties: value: 1, label: participantID
  162. *
  163. * @type {String}
  164. */
  165. export const REMOTE_VIDEO_MENU_KICK = 'remotevideomenu.kick';
  166. /**
  167. * Clicked on the button to audio mute a remote participant.
  168. *
  169. * Properties: value: 1, label: participantID
  170. *
  171. * @type {String}
  172. */
  173. export const REMOTE_VIDEO_MENU_MUTE_CLICKED = 'remotevideomenu.mute.clicked';
  174. /**
  175. * Confirmed the muting of a remote participant.
  176. *
  177. * Properties: value: 1, label: participantID
  178. *
  179. * @type {String}
  180. */
  181. export const REMOTE_VIDEO_MENU_MUTE_CONFIRMED
  182. = 'remotevideomenu.mute.confirmed';
  183. /**
  184. * Clicked on the remote control option in the remote menu.
  185. *
  186. * Properties: value: 1, label: participantID
  187. *
  188. * Known full event names:
  189. * remotevideomenu.remotecontrol.stop
  190. * remotevideomenu.remotecontrol.start
  191. *
  192. * @type {String}
  193. */
  194. export const REMOTE_VIDEO_MENU_REMOTE_CONTROL_
  195. = 'remotevideomenu.remotecontrol';
  196. /**
  197. * Replacing the currently used track of specified type with a new track of the
  198. * same type. The event is fired when changing devices.
  199. *
  200. * Known full event names:
  201. * replacetrack.audio
  202. * replacetrack.video
  203. *
  204. * @type {String}
  205. */
  206. export const REPLACE_TRACK_ = 'replacetrack';
  207. /**
  208. * The local participant failed to start receiving high quality video from
  209. * a remote participant, which is usually initiated by the remote participant
  210. * being put on large video.
  211. *
  212. * @type {String}
  213. */
  214. export const SELECT_PARTICIPANT_FAILED = 'selectParticipant.failed';
  215. /**
  216. * The local participant began using a different audio input device (mic).
  217. *
  218. * @type {String}
  219. */
  220. export const SETTINGS_CHANGE_DEVICE_AUDIO_IN = 'settings.changeDevice.audioIn';
  221. /**
  222. * The local participant began using a different audio output device (speaker).
  223. *
  224. * @type {String}
  225. */
  226. export const SETTINGS_CHANGE_DEVICE_AUDIO_OUT
  227. = 'settings.changeDevice.audioOut';
  228. /**
  229. * The local participant began using a different camera.
  230. *
  231. * @type {String}
  232. */
  233. export const SETTINGS_CHANGE_DEVICE_VIDEO = 'settings.changeDevice.video';
  234. /**
  235. * Attempted to start sharing a YouTube video but one is already being shared.
  236. *
  237. * @type {String}
  238. */
  239. export const SHARED_VIDEO_ALREADY_SHARED = 'sharedvideo.alreadyshared';
  240. /**
  241. * The local participant's mic was muted automatically during a shared video.
  242. *
  243. * @type {String}
  244. */
  245. export const SHARED_VIDEO_AUDIO_MUTED = 'sharedvideo.audio.muted';
  246. /**
  247. * The local participant's mic was unmuted automatically during a shared video.
  248. *
  249. * @type {String}
  250. */
  251. export const SHARED_VIDEO_AUDIO_UNMUTED = 'sharedvideo.audio.unmuted';
  252. /**
  253. * Canceled the prompt to enter a YouTube video to share.
  254. *
  255. * @type {String}
  256. */
  257. export const SHARED_VIDEO_CANCELED = 'sharedvideo.canceled';
  258. /**
  259. * The shared YouTube video has been paused.
  260. *
  261. * @type {String}
  262. */
  263. export const SHARED_VIDEO_PAUSED = 'sharedvideo.paused';
  264. /**
  265. * Started sharing a YouTube video.
  266. *
  267. * @type {String}
  268. */
  269. export const SHARED_VIDEO_STARTED = 'sharedvideo.started';
  270. /**
  271. * Confirmed stoppage of the shared YouTube video.
  272. *
  273. * @type {String}
  274. */
  275. export const SHARED_VIDEO_STOPPED = 'sharedvideo.stoped';
  276. /**
  277. * The shared YouTube video had its volume change.
  278. *
  279. * @type {String}
  280. */
  281. export const SHARED_VIDEO_VOLUME_CHANGED = 'sharedvideo.volumechanged';
  282. /**
  283. * Pressed the keyboard shortcut for toggling audio mute.
  284. *
  285. * @type {String}
  286. */
  287. export const SHORTCUT_AUDIO_MUTE_TOGGLED = 'shortcut.audiomute.toggled';
  288. /**
  289. * Pressed the keyboard shortcut for toggling chat panel display.
  290. *
  291. * @type {String}
  292. */
  293. export const SHORTCUT_CHAT_TOGGLED = 'shortcut.chat.toggled';
  294. /**
  295. * Toggled the display of the keyboard shortcuts help dialog.
  296. *
  297. * @type {String}
  298. */
  299. export const SHORTCUT_HELP = 'shortcut.shortcut.help';
  300. /**
  301. * Pressed the keyboard shortcut for togglgin raise hand status.
  302. *
  303. * @type {String}
  304. */
  305. export const SHORTCUT_RAISE_HAND_CLICKED = 'shortcut.raisehand.clicked';
  306. /**
  307. * Pressed the keyboard shortcut for toggling screenshare.
  308. *
  309. * @type {String}
  310. */
  311. export const SHORTCUT_SCREEN_TOGGLED = 'shortcut.screen.toggled';
  312. /**
  313. * Toggled the display of the speaker stats dialog.
  314. *
  315. * @type {String}
  316. */
  317. export const SHORTCUT_SPEAKER_STATS_CLICKED = 'shortcut.speakerStats.clicked';
  318. /**
  319. * Started pressing the key that undoes audio mute while the key is pressed.
  320. *
  321. * @type {String}
  322. */
  323. export const SHORTCUT_TALK_CLICKED = 'shortcut.talk.clicked';
  324. /**
  325. * Released the key used to talk while audio muted, returning to the audio muted
  326. * state.
  327. *
  328. * @type {String}
  329. */
  330. export const SHORTCUT_TALK_RELEASED = 'shortcut.talk.released';
  331. /**
  332. * Toggling video mute state using a keyboard shortcut.
  333. *
  334. * @type {String}
  335. */
  336. export const SHORTCUT_VIDEO_MUTE_TOGGLED = 'shortcut.videomute.toggled';
  337. /**
  338. * The config specifies the local participant should start with audio only mode
  339. * enabled or disabled.
  340. *
  341. * Known full event names:
  342. * startaudioonly.enabled
  343. * startaudioonly.disabled
  344. *
  345. * @type {String}
  346. */
  347. export const START_AUDIO_ONLY_ = 'startaudioonly';
  348. /**
  349. * The config specifies the local participant should start with audio mute
  350. * enabled or disabled.
  351. *
  352. * Known full event names:
  353. * startmuted.client.audio.muted
  354. * startmuted.client.audio.unmuted
  355. *
  356. * @type {String}
  357. */
  358. export const START_MUTED_CLIENT_AUDIO_ = 'startmuted.client.audio';
  359. /**
  360. * The config specifies the local participant should start with video mute
  361. * enabled or disabled.
  362. *
  363. * Known full event names:
  364. * startmuted.client.video.muted
  365. * startmuted.client.video.unmuted
  366. *
  367. * @type {String}
  368. */
  369. export const START_MUTED_CLIENT_VIDEO_ = 'startmuted.client.video';
  370. /**
  371. * The local participant has received an event from the server stating to
  372. * start audio muted or unmuted.
  373. *
  374. * Known full event names:
  375. * startmuted.server.audio.muted
  376. * startmuted.server.audio.unmuted
  377. *
  378. * @type {String}
  379. */
  380. export const START_MUTED_SERVER_AUDIO_ = 'startmuted.server.audio';
  381. /**
  382. * The local participant has received an event from the server stating to
  383. * start video muted or unmuted.
  384. *
  385. * Known full event names:
  386. * startmuted.server.video.muted
  387. * startmuted.server.video.unmuted
  388. *
  389. * @type {String}
  390. */
  391. export const START_MUTED_SERVER_VIDEO_ = 'startmuted.server.video';
  392. /**
  393. * How long it took to switch between simulcast streams.
  394. *
  395. * Properties: value
  396. *
  397. * @type {String}
  398. */
  399. export const STREAM_SWITCH_DELAY = 'stream.switch.delay';
  400. /**
  401. * Automatically changing the mute state of a media track in order to match
  402. * the current stored state in redux.
  403. *
  404. * Known full event names:
  405. * synctrackstate.audio.muted
  406. * synctrackstate.audio.unmuted
  407. * synctrackstate.video.muted
  408. * synctrackstate.video.unmuted
  409. *
  410. * @type {String}
  411. */
  412. export const SYNC_TRACK_STATE_ = 'synctrackstate';
  413. /**
  414. * Clicked the toolbar button to enter audio mute state.
  415. *
  416. * @type {String}
  417. */
  418. export const TOOLBAR_AUDIO_MUTED = 'toolbar.audio.muted';
  419. /**
  420. * Clicked within a toolbar menu to enable audio only.
  421. *
  422. * @type {String}
  423. */
  424. export const TOOLBAR_AUDIO_ONLY_ENABLED = 'toolbar.audioonly.enabled';
  425. /**
  426. * Clicked the toolbar button to exit audio mute state.
  427. *
  428. * @type {String}
  429. */
  430. export const TOOLBAR_AUDIO_UNMUTED = 'toolbar.audio.unmuted';
  431. /**
  432. * Clicked the toolbar button for toggling chat panel display.
  433. *
  434. * @type {String}
  435. */
  436. export const TOOLBAR_CHAT_TOGGLED = 'toolbar.chat.toggled';
  437. /**
  438. * Clicked the toolbar button for toggling contact list panel display.
  439. *
  440. * @type {String}
  441. */
  442. export const TOOLBAR_CONTACTS_TOGGLED = 'toolbar.contacts.toggled';
  443. /**
  444. * Clicked the toolbar button to toggle display of etherpad (collaborative
  445. * document writing).
  446. *
  447. * @type {String}
  448. */
  449. export const TOOLBAR_ETHERPACK_CLICKED = 'toolbar.etherpad.clicked';
  450. /**
  451. * Pressed the keyboard shortcut to open the device selection window while in
  452. * filmstrip only mode.
  453. *
  454. * @type {String}
  455. */
  456. export const TOOLBAR_FILMSTRIP_ONLY_DEVICE_SELECTION_TOGGLED
  457. = 'toolbar.fodeviceselection.toggled';
  458. /**
  459. * Visibility of the filmstrip has been toggled.
  460. *
  461. * @type {String}
  462. */
  463. export const TOOLBAR_FILMSTRIP_TOGGLED = 'toolbar.filmstrip.toggled';
  464. /**
  465. * Clicked the toolbar button to toggle display full screen mode.
  466. *
  467. * @type {String}
  468. */
  469. export const TOOLBAR_FULLSCREEN_ENABLED = 'toolbar.fullscreen.enabled';
  470. /**
  471. * Clicked the toolbar button to leave the conference.
  472. *
  473. * @type {String}
  474. */
  475. export const TOOLBAR_HANGUP = 'toolbar.hangup';
  476. /**
  477. * Clicked the toolbar button to open the invite dialog.
  478. *
  479. * @type {String}
  480. */
  481. export const TOOLBAR_INVITE_CLICKED = 'toolbar.invite.clicked';
  482. /**
  483. * The invite dialog has been dismissed.
  484. *
  485. * @type {String}
  486. */
  487. export const TOOLBAR_INVITE_CLOSE = 'toolbar.invite.close';
  488. /**
  489. * Clicked the toolbar button for toggling the display of the profile panel.
  490. *
  491. * @type {String}
  492. */
  493. export const TOOLBAR_PROFILE_TOGGLED = 'toolbar.profile.toggled';
  494. /**
  495. * Clicked the toolbar button for toggling raise hand status.
  496. *
  497. * @type {String}
  498. */
  499. export const TOOLBAR_RAISE_HAND_CLICKED = 'toolbar.raiseHand.clicked';
  500. /**
  501. * Clicked the toolbar button to stop screensharing.
  502. *
  503. * @type {String}
  504. */
  505. export const TOOLBAR_SCREEN_DISABLED = 'toolbar.screen.disabled';
  506. /**
  507. * Clicked the toolbar button to start screensharing.
  508. *
  509. * @type {String}
  510. */
  511. export const TOOLBAR_SCREEN_ENABLED = 'toolbar.screen.enabled';
  512. /**
  513. * Clicked the toolbar button for toggling display of the settings menu.
  514. *
  515. * @type {String}
  516. */
  517. export const TOOLBAR_SETTINGS_TOGGLED = 'toolbar.settings.toggled';
  518. /**
  519. * Clicked the toolbar button for toggling a shared YouTube video.
  520. *
  521. * @type {String}
  522. */
  523. export const TOOLBAR_SHARED_VIDEO_CLICKED = 'toolbar.sharedvideo.clicked';
  524. /**
  525. * Clicked the toolbar button to open the dial-out feature.
  526. *
  527. * @type {String}
  528. */
  529. export const TOOLBAR_SIP_DIALPAD_CLICKED = 'toolbar.sip.dialpad.clicked';
  530. /**
  531. * In the mobile app, clicked on the toolbar button to toggle video mute.
  532. *
  533. * Known full event names:
  534. * toolbar.video.muted
  535. * toolbar.video.unmuted
  536. *
  537. * @type {String}
  538. */
  539. export const TOOLBAR_VIDEO_ = 'toolbar.video';
  540. /**
  541. * Clicked on the toolbar to video unmute.
  542. *
  543. * @type {String}
  544. */
  545. export const TOOLBAR_VIDEO_DISABLED = 'toolbar.video.disabled';
  546. /**
  547. * Clicked on the toolbar to video mute.
  548. *
  549. * @type {String}
  550. */
  551. export const TOOLBAR_VIDEO_ENABLED = 'toolbar.video.enabled';
  552. /**
  553. * Clicked within a toolbar menu to set max incoming video quality to high
  554. * definition.
  555. *
  556. * @type {String}
  557. */
  558. export const TOOLBAR_VIDEO_QUALITY_HIGH = 'toolbar.videoquality.high';
  559. /**
  560. * Clicked within a toolbar menu to set max incoming video quality to low
  561. * definition.
  562. *
  563. * @type {String}
  564. */
  565. export const TOOLBAR_VIDEO_QUALITY_LOW = 'toolbar.videoquality.low';
  566. /**
  567. * Clicked within a toolbar menu to set max incoming video quality to standard
  568. * definition.
  569. *
  570. * @type {String}
  571. */
  572. export const TOOLBAR_VIDEO_QUALITY_STANDARD = 'toolbar.videoquality.standard';
  573. /**
  574. * The local participant has unpinned a participant so the participant doesn't
  575. * remain permanently on local large video.
  576. *
  577. * Known full event names:
  578. * unpinned.local
  579. * unpinned.remote
  580. *
  581. * @type {String}
  582. */
  583. export const UNPINNED_ = 'unpinned';