Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

Events.js 1.1KB

123456789101112131415161718192021222324252627282930313233
  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. * Notifies about audio problem with remote participant.
  14. *
  15. * @param ssrc - The synchronization source identifier (SSRC) of the remote
  16. * participant whose audio exhibits problems.
  17. */
  18. export const AUDIO_NOT_WORKING = "statistics.audio_not_working";
  19. /**
  20. * An event carrying all statistics by ssrc.
  21. */
  22. export const BYTE_SENT_STATS = "statistics.byte_sent_stats";
  23. /**
  24. * An event carrying connection statistics.
  25. *
  26. * @param {object} connectionStats - The connection statistics carried by the
  27. * event such as <tt>bandwidth</tt>, <tt>bitrate</tt>, <tt>packetLoss</tt>,
  28. * <tt>resolution</tt>, and <tt>transport</tt>.
  29. */
  30. export const CONNECTION_STATS = "statistics.connectionstats";