webrtc-stats-gatherer 9.0.8 → 9.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -6
- package/dist/deploy-info.json +4 -4
- package/dist/index.d.ts +4 -2
- package/dist/index.js +223 -292
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +4 -4
- package/package.json +20 -20
- package/src/index.ts +112 -73
- package/src/interfaces.ts +7 -7
package/README.md
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# WebRTC Stats Gatherer
|
|
2
2
|
|
|
3
|
-
[](https://greenkeeper.io/)
|
|
4
|
-
|
|
5
|
-
[](https://travis-ci.org/MyPureCloud/webrtc-stats-gatherer)
|
|
6
|
-
|
|
7
|
-
[](https://coveralls.io/github/MyPureCloud/webrtc-stats-gatherer?branch=master)
|
|
8
|
-
|
|
9
3
|
This module is designed to collect [RTCPeerConnection](https://github.com/otalk/rtcpeerconnection) stats on a regular interval
|
|
10
4
|
and emit stats and trace data as appropriate.
|
|
11
5
|
|
package/dist/deploy-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webrtc-stats-gatherer",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.9",
|
|
4
4
|
"ecosystem": "pc",
|
|
5
|
-
"team": "
|
|
5
|
+
"team": "Client Streaming and Signaling",
|
|
6
6
|
"indexFiles": [
|
|
7
7
|
{
|
|
8
8
|
"file": "interfaces.js.map"
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"file": "index.d.ts"
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
|
-
"build": "
|
|
27
|
-
"buildDate": "2024-
|
|
26
|
+
"build": "47",
|
|
27
|
+
"buildDate": "2024-09-03T19:56:54.866285195Z"
|
|
28
28
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { EventEmitter } from 'events';
|
|
3
2
|
export * from './interfaces';
|
|
4
3
|
export interface StatsGathererOpts {
|
|
@@ -6,7 +5,10 @@ export interface StatsGathererOpts {
|
|
|
6
5
|
initiator?: string;
|
|
7
6
|
conference?: string;
|
|
8
7
|
interval?: number;
|
|
9
|
-
logger?:
|
|
8
|
+
logger?: {
|
|
9
|
+
error(...any: any[]): any;
|
|
10
|
+
warn(...any: any[]): any;
|
|
11
|
+
};
|
|
10
12
|
}
|
|
11
13
|
export default class StatsGatherer extends EventEmitter {
|
|
12
14
|
peerConnection: RTCPeerConnection;
|