export declare enum Events {
/**
* 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.
*/
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).
*/
BEFORE_DISPOSED = "statistics.before_disposed",
/**
* An event carrying all statistics by ssrc.
*/
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.
*/
CONNECTION_STATS = "statistics.connectionstats",
/**
* An event carrying performance stats.
*/
LONG_TASKS_STATS = "statistics.long_tasks_stats"
}
export declare const AUDIO_LEVEL = Events.AUDIO_LEVEL;
export declare const BEFORE_DISPOSED = Events.BEFORE_DISPOSED;
export declare const BYTE_SENT_STATS = Events.BYTE_SENT_STATS;
export declare const CONNECTION_STATS = Events.CONNECTION_STATS;
export declare const LONG_TASKS_STATS = Events.LONG_TASKS_STATS;