Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Events.js 1.1KB

1234567891011121314151617181920212223242526272829303132
  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";