|
@@ -1,33 +1,40 @@
|
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";
|
|
1
|
+export declare enum Events {
|
|
2
|
+ /**
|
|
3
|
+ * Notifies about audio level in RTP statistics by SSRC.
|
|
4
|
+ *
|
|
5
|
+ * @param ssrc - The synchronization source identifier (SSRC) of the
|
|
6
|
+ * endpoint/participant whose audio level is being reported.
|
|
7
|
+ * @param {number} audioLevel - The audio level of <tt>ssrc</tt> according to
|
|
8
|
+ * RTP statistics.
|
|
9
|
+ * @param {boolean} isLocal - <tt>true</tt> if <tt>ssrc</tt> identifies the
|
|
10
|
+ * local endpoint/participant; otherwise, <tt>false</tt>.
|
|
11
|
+ */
|
|
12
|
+ AUDIO_LEVEL = "statistics.audioLevel",
|
|
13
|
+ /**
|
|
14
|
+ * An event fired just before the statistics module gets disposes and it's
|
|
15
|
+ * the last chance to submit some logs that will end up in stats services like
|
|
16
|
+ * CallStats (if enabled).
|
|
17
|
+ */
|
|
18
|
+ BEFORE_DISPOSED = "statistics.before_disposed",
|
|
19
|
+ /**
|
|
20
|
+ * An event carrying all statistics by ssrc.
|
|
21
|
+ */
|
|
22
|
+ 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
|
+ CONNECTION_STATS = "statistics.connectionstats",
|
|
31
|
+ /**
|
|
32
|
+ * An event carrying performance stats.
|
|
33
|
+ */
|
|
34
|
+ LONG_TASKS_STATS = "statistics.long_tasks_stats"
|
|
35
|
+}
|
|
36
|
+export declare const AUDIO_LEVEL = Events.AUDIO_LEVEL;
|
|
37
|
+export declare const BEFORE_DISPOSED = Events.BEFORE_DISPOSED;
|
|
38
|
+export declare const BYTE_SENT_STATS = Events.BYTE_SENT_STATS;
|
|
39
|
+export declare const CONNECTION_STATS = Events.CONNECTION_STATS;
|
|
40
|
+export declare const LONG_TASKS_STATS = Events.LONG_TASKS_STATS;
|