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

Events.js 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Notifies about audio level in RTP statistics by SSRC.
  3. *
  4. * @param ssrc - The synchronization source identifier (SSRC) of the
  5. * endpoint/participant whose audio level is being reported.
  6. * @param {number} audioLevel - The audio level of <tt>ssrc</tt> according to
  7. * RTP statistics.
  8. * @param {boolean} isLocal - <tt>true</tt> if <tt>ssrc</tt> identifies the
  9. * local endpoint/participant; otherwise, <tt>false</tt>.
  10. */
  11. export const AUDIO_LEVEL = 'statistics.audioLevel';
  12. /**
  13. * An event fired just before the statistics module gets disposes and it's
  14. * the last chance to submit some logs that will end up in stats services like
  15. * CallStats (if enabled).
  16. */
  17. export const BEFORE_DISPOSED = 'statistics.before_disposed';
  18. /**
  19. * An event carrying all statistics by ssrc.
  20. */
  21. export const BYTE_SENT_STATS = 'statistics.byte_sent_stats';
  22. /**
  23. * An event carrying connection statistics.
  24. *
  25. * @param {object} connectionStats - The connection statistics carried by the
  26. * event such as <tt>bandwidth</tt>, <tt>bitrate</tt>, <tt>packetLoss</tt>,
  27. * <tt>resolution</tt>, and <tt>transport</tt>.
  28. */
  29. export const CONNECTION_STATS = 'statistics.connectionstats';
  30. /**
  31. * An event carrying performance stats.
  32. */
  33. export const LONG_TASKS_STATS = 'statistics.long_tasks_stats';