/** * Notifies about audio level in RTP statistics by SSRC. * * @param ssrc - The synchronization source identifier (SSRC) of the * endpoint/participant whose audio level is being reported. * @param {number} audioLevel - The audio level of ssrc according to * RTP statistics. * @param {boolean} isLocal - true if ssrc identifies the * local endpoint/participant; otherwise, false. */ export const AUDIO_LEVEL = 'statistics.audioLevel'; /** * An event fired just before the statistics module gets disposes and it's * the last chance to submit some logs that will end up in stats services like * CallStats (if enabled). */ export const BEFORE_DISPOSED = 'statistics.before_disposed'; /** * An event carrying all statistics by ssrc. */ export const BYTE_SENT_STATS = 'statistics.byte_sent_stats'; /** * An event carrying connection statistics. * * @param {object} connectionStats - The connection statistics carried by the * event such as bandwidth, bitrate, packetLoss, * resolution, and transport. */ export const CONNECTION_STATS = 'statistics.connectionstats'; /** * An event carrying performance stats. */ export const LONG_TASKS_STATS = 'statistics.long_tasks_stats';