您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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';