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.

DetectionEvents.js 637B

123456789101112131415161718
  1. /**
  2. * Event generated by {@link TrackVADEmitter} when PCM sample VAD score is available.
  3. *
  4. * @event
  5. * @type {Object}
  6. * @property {Date} timestamp - Exact time at which processed PCM sample was generated.
  7. * @property {number} score - VAD score on a scale from 0 to 1 (i.e. 0.7)
  8. * @property {string} deviceId - Device id of the associated track.
  9. */
  10. export const VAD_SCORE_PUBLISHED = 'detection.vad_score_published';
  11. /**
  12. * Event generated by {@link VADTalkMutedDetection} when a user is talking while the mic is muted.
  13. *
  14. * @event
  15. * @type {Object}
  16. */
  17. export const VAD_TALK_WHILE_MUTED = 'detection.vad_talk_while_muted';