@observertc/observer-js 1.0.1-c3edea3.0 → 1.0.1-ea70eab.0

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.
Files changed (140) hide show
  1. package/lib/ObservedCall.d.ts +43 -7
  2. package/lib/ObservedCall.d.ts.map +1 -1
  3. package/lib/ObservedCall.js +129 -13
  4. package/lib/ObservedCallEventMonitor.d.ts +104 -0
  5. package/lib/ObservedCallEventMonitor.d.ts.map +1 -0
  6. package/lib/ObservedCallEventMonitor.js +314 -0
  7. package/lib/ObservedCallSummary.d.ts +18 -0
  8. package/lib/ObservedCallSummary.d.ts.map +1 -0
  9. package/lib/ObservedClient.d.ts +70 -11
  10. package/lib/ObservedClient.d.ts.map +1 -1
  11. package/lib/ObservedClient.js +392 -72
  12. package/lib/ObservedClientEventMonitor.d.ts +89 -0
  13. package/lib/ObservedClientEventMonitor.d.ts.map +1 -0
  14. package/lib/ObservedClientEventMonitor.js +247 -0
  15. package/lib/ObservedClientSummary.d.ts +23 -0
  16. package/lib/ObservedClientSummary.d.ts.map +1 -0
  17. package/lib/ObservedClientSummary.js +2 -0
  18. package/lib/ObservedDataChannel.d.ts +6 -0
  19. package/lib/ObservedDataChannel.d.ts.map +1 -1
  20. package/lib/ObservedDataChannel.js +30 -0
  21. package/lib/ObservedIceCandidatePair.d.ts +6 -1
  22. package/lib/ObservedIceCandidatePair.d.ts.map +1 -1
  23. package/lib/ObservedIceCandidatePair.js +45 -1
  24. package/lib/ObservedIceTransport.d.ts +4 -0
  25. package/lib/ObservedIceTransport.d.ts.map +1 -1
  26. package/lib/ObservedIceTransport.js +28 -0
  27. package/lib/ObservedInboundTrack.d.ts +2 -0
  28. package/lib/ObservedInboundTrack.d.ts.map +1 -1
  29. package/lib/ObservedInboundTrack.js +2 -0
  30. package/lib/ObservedOutboundTrack.d.ts +2 -0
  31. package/lib/ObservedOutboundTrack.d.ts.map +1 -1
  32. package/lib/ObservedOutboundTrack.js +2 -0
  33. package/lib/ObservedPeerConnection.d.ts +29 -2
  34. package/lib/ObservedPeerConnection.d.ts.map +1 -1
  35. package/lib/ObservedPeerConnection.js +181 -29
  36. package/lib/ObservedTURN.d.ts +31 -0
  37. package/lib/ObservedTURN.d.ts.map +1 -0
  38. package/lib/ObservedTURN.js +58 -0
  39. package/lib/ObservedTurnServer.d.ts +25 -0
  40. package/lib/ObservedTurnServer.d.ts.map +1 -0
  41. package/lib/ObservedTurnServer.js +59 -0
  42. package/lib/Observer.d.ts +43 -22
  43. package/lib/Observer.d.ts.map +1 -1
  44. package/lib/Observer.js +126 -40
  45. package/lib/ObserverEventMonitor.d.ts +130 -0
  46. package/lib/ObserverEventMonitor.d.ts.map +1 -0
  47. package/lib/ObserverEventMonitor.js +404 -0
  48. package/lib/ObserverSummary.d.ts +13 -0
  49. package/lib/ObserverSummary.d.ts.map +1 -0
  50. package/lib/ObserverSummary.js +2 -0
  51. package/lib/common/utils.d.ts +2 -1
  52. package/lib/common/utils.d.ts.map +1 -1
  53. package/lib/common/utils.js +11 -3
  54. package/lib/index.d.ts +6 -0
  55. package/lib/index.d.ts.map +1 -1
  56. package/lib/index.js +9 -1
  57. package/lib/schema/ClientEventTypes.d.ts +160 -0
  58. package/lib/schema/ClientEventTypes.d.ts.map +1 -0
  59. package/lib/schema/ClientEventTypes.js +38 -0
  60. package/lib/schema/{metaTypes.d.ts → ClientMetaTypes.d.ts} +2 -2
  61. package/lib/schema/ClientMetaTypes.d.ts.map +1 -0
  62. package/lib/schema/ClientMetaTypes.js +16 -0
  63. package/lib/schema/ClientSample.d.ts +1 -1
  64. package/lib/schema/ClientSample.d.ts.map +1 -1
  65. package/lib/updaters/CallUpdater.d.ts.map +1 -0
  66. package/lib/updaters/CallUpdater.js +2 -0
  67. package/lib/updaters/ObserverUpdater.d.ts +5 -0
  68. package/lib/updaters/ObserverUpdater.d.ts.map +1 -0
  69. package/lib/updaters/ObserverUpdater.js +2 -0
  70. package/lib/updaters/OnAllCallObserverUpdater.d.ts +15 -0
  71. package/lib/updaters/OnAllCallObserverUpdater.d.ts.map +1 -0
  72. package/lib/updaters/OnAllCallObserverUpdater.js +50 -0
  73. package/lib/updaters/OnAllClientCallUpdater.d.ts +15 -0
  74. package/lib/updaters/OnAllClientCallUpdater.d.ts.map +1 -0
  75. package/lib/updaters/OnAllClientCallUpdater.js +53 -0
  76. package/lib/updaters/OnAnyCallObserverUpdater.d.ts +12 -0
  77. package/lib/updaters/OnAnyCallObserverUpdater.d.ts.map +1 -0
  78. package/lib/updaters/OnAnyCallObserverUpdater.js +37 -0
  79. package/lib/updaters/OnAnyClientCallUpdater.d.ts +12 -0
  80. package/lib/updaters/OnAnyClientCallUpdater.d.ts.map +1 -0
  81. package/lib/updaters/OnAnyClientCallUpdater.js +36 -0
  82. package/lib/updaters/OnIntervalUpdater.d.ts +10 -0
  83. package/lib/updaters/OnIntervalUpdater.d.ts.map +1 -0
  84. package/lib/updaters/OnIntervalUpdater.js +17 -0
  85. package/lib/updaters/Updater.d.ts +6 -0
  86. package/lib/updaters/Updater.d.ts.map +1 -0
  87. package/lib/updaters/Updater.js +2 -0
  88. package/lib/utils/MediasoupRemoteTrackResolver.d.ts +25 -0
  89. package/lib/utils/MediasoupRemoteTrackResolver.d.ts.map +1 -0
  90. package/lib/utils/MediasoupRemoteTrackResolver.js +110 -0
  91. package/package.json +1 -1
  92. package/src/ObservedCall.ts +210 -16
  93. package/src/ObservedCallEventMonitor.ts +392 -0
  94. package/src/ObservedCallSummary.ts +22 -0
  95. package/src/ObservedClient.ts +490 -79
  96. package/src/ObservedClientEventMonitor.ts +301 -0
  97. package/src/ObservedClientSummary.ts +24 -0
  98. package/src/ObservedDataChannel.ts +32 -0
  99. package/src/ObservedIceCandidatePair.ts +44 -2
  100. package/src/ObservedIceTransport.ts +29 -0
  101. package/src/ObservedInboundTrack.ts +3 -0
  102. package/src/ObservedOutboundTrack.ts +3 -0
  103. package/src/ObservedPeerConnection.ts +210 -46
  104. package/src/ObservedTURN.ts +86 -0
  105. package/src/ObservedTurnServer.ts +72 -0
  106. package/src/Observer.ts +179 -64
  107. package/src/ObserverEventMonitor.ts +518 -0
  108. package/src/ObserverSummary.ts +15 -0
  109. package/src/common/utils.ts +12 -2
  110. package/src/index.ts +6 -0
  111. package/src/schema/ClientEventTypes.ts +176 -0
  112. package/src/schema/{metaTypes.ts → ClientMetaTypes.ts} +1 -1
  113. package/src/schema/ClientSample.ts +1 -1
  114. package/src/updaters/ObserverUpdater.ts +5 -0
  115. package/src/updaters/OnAllCallObserverUpdater.ts +59 -0
  116. package/src/updaters/OnAllClientCallUpdater.ts +61 -0
  117. package/src/updaters/OnAnyCallObserverUpdater.ts +41 -0
  118. package/src/updaters/OnAnyClientCallUpdater.ts +39 -0
  119. package/src/updaters/OnIntervalUpdater.ts +19 -0
  120. package/src/updaters/Updater.ts +5 -0
  121. package/src/utils/MediasoupRemoteTrackResolver.ts +155 -0
  122. package/tsconfig.json +1 -1
  123. package/lib/schema/eventTypes.d.ts +0 -33
  124. package/lib/schema/eventTypes.d.ts.map +0 -1
  125. package/lib/schema/eventTypes.js +0 -38
  126. package/lib/schema/metaTypes.d.ts.map +0 -1
  127. package/lib/schema/metaTypes.js +0 -16
  128. package/lib/utils/CallUpdater.d.ts.map +0 -1
  129. package/lib/utils/OnAllClientCallUpdater.d.ts +0 -16
  130. package/lib/utils/OnAllClientCallUpdater.d.ts.map +0 -1
  131. package/lib/utils/OnAllClientCallUpdater.js +0 -58
  132. package/lib/utils/onAnyClientCallUpdater.d.ts +0 -14
  133. package/lib/utils/onAnyClientCallUpdater.d.ts.map +0 -1
  134. package/lib/utils/onAnyClientCallUpdater.js +0 -51
  135. package/src/schema/eventTypes.ts +0 -36
  136. package/src/utils/OnAllClientCallUpdater.ts +0 -68
  137. package/src/utils/onAnyClientCallUpdater.ts +0 -59
  138. /package/lib/{utils/CallUpdater.js → ObservedCallSummary.js} +0 -0
  139. /package/lib/{utils → updaters}/CallUpdater.d.ts +0 -0
  140. /package/src/{utils → updaters}/CallUpdater.ts +0 -0
@@ -0,0 +1,314 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ObservedCallEventMonitor = void 0;
4
+ class ObservedCallEventMonitor {
5
+ call;
6
+ context;
7
+ constructor(call, context) {
8
+ this.call = call;
9
+ this.context = context;
10
+ this._onPeerConnconnectionAdded = this._onPeerConnconnectionAdded.bind(this);
11
+ this._onPeerConnectionRemoved = this._onPeerConnectionRemoved.bind(this);
12
+ this._onCertificateAdded = this._onCertificateAdded.bind(this);
13
+ this._onCertificateRemoved = this._onCertificateRemoved.bind(this);
14
+ this._onInboundTrackAdded = this._onInboundTrackAdded.bind(this);
15
+ this._onInboundTrackRemoved = this._onInboundTrackRemoved.bind(this);
16
+ this._onOutboundTrackAdded = this._onOutboundTrackAdded.bind(this);
17
+ this._onOutboundTrackRemoved = this._onOutboundTrackRemoved.bind(this);
18
+ this._onInboundRtpAdded = this._onInboundRtpAdded.bind(this);
19
+ this._onInboundRtpRemoved = this._onInboundRtpRemoved.bind(this);
20
+ this._onOutboundRtpAdded = this._onOutboundRtpAdded.bind(this);
21
+ this._onOutboundRtpRemoved = this._onOutboundRtpRemoved.bind(this);
22
+ this._onDataChannelAdded = this._onDataChannelAdded.bind(this);
23
+ this._onDataChannelRemoved = this._onDataChannelRemoved.bind(this);
24
+ this._onAddedIceTransport = this._onAddedIceTransport.bind(this);
25
+ this._onRemovedIceTransport = this._onRemovedIceTransport.bind(this);
26
+ this._onIceCandidateAdded = this._onIceCandidateAdded.bind(this);
27
+ this._onIceCandidateRemoved = this._onIceCandidateRemoved.bind(this);
28
+ this._onAddedIceCandidatePair = this._onAddedIceCandidatePair.bind(this);
29
+ this._onRemovedIceCandidatePair = this._onRemovedIceCandidatePair.bind(this);
30
+ this._onAddedMediaCodec = this._onAddedMediaCodec.bind(this);
31
+ this._onRemovedMediaCodec = this._onRemovedMediaCodec.bind(this);
32
+ this._onAddedMediaPlayout = this._onAddedMediaPlayout.bind(this);
33
+ this._onRemovedMediaPlayout = this._onRemovedMediaPlayout.bind(this);
34
+ this._onMediaSourceAdded = this._onMediaSourceAdded.bind(this);
35
+ this._onMediaSourceRemoved = this._onMediaSourceRemoved.bind(this);
36
+ this._onClientIssue = this._onClientIssue.bind(this);
37
+ this._onClientMetadata = this._onClientMetadata.bind(this);
38
+ this._onClientJoined = this._onClientJoined.bind(this);
39
+ this._onClientLeft = this._onClientLeft.bind(this);
40
+ this._onUserMediaError = this._onUserMediaError.bind(this);
41
+ this._onUsingTurn = this._onUsingTurn.bind(this);
42
+ this._onClientAdded = this._onClientAdded.bind(this);
43
+ this._onCallAdded = this._onCallAdded.bind(this);
44
+ this._onClientRejoined = this._onClientRejoined.bind(this);
45
+ this._onClientExtensionStats = this._onClientExtensionStats.bind(this);
46
+ this._onCallAdded(call);
47
+ }
48
+ // Public event handlers
49
+ onCallClosed;
50
+ onCallEmpty;
51
+ onCallNotEmpty;
52
+ onCallUpdated;
53
+ onClientAdded;
54
+ onClientClosed;
55
+ onClientRejoined;
56
+ onClientIssue;
57
+ onClientMetadata;
58
+ onClientExtensionStats;
59
+ onClientJoined;
60
+ onClientLeft;
61
+ onClientUserMediaError;
62
+ onClientUsingTurn;
63
+ onClientUpdated;
64
+ onClientEvent;
65
+ onPeerConnectionAdded;
66
+ onPeerConnectionRemoved;
67
+ onSelectedCandidatePairChanged;
68
+ onIceGatheringStateChange;
69
+ onIceConnectionStateChange;
70
+ onConnectionStateChange;
71
+ onCertificateAdded;
72
+ onCertificateRemoved;
73
+ onInboundTrackAdded;
74
+ onInboundTrackRemoved;
75
+ onOutboundTrackAdded;
76
+ onOutboundTrackRemoved;
77
+ onInboundRtpAdded;
78
+ onInboundRtpRemoved;
79
+ onOutboundRtpAdded;
80
+ onOutboundRtpRemoved;
81
+ onDataChannelAdded;
82
+ onDataChannelRemoved;
83
+ onAddedIceTransport;
84
+ onRemovedIceTransport;
85
+ onIceCandidateAdded;
86
+ onIceCandidateRemoved;
87
+ onAddedIceCandidatePair;
88
+ onRemovedIceCandidatePair;
89
+ onAddedMediaCodec;
90
+ onRemovedMediaCodec;
91
+ onAddedMediaPlayout;
92
+ onRemovedMediaPlayout;
93
+ onMediaSourceAdded;
94
+ onMediaSourceRemoved;
95
+ _onCallAdded(call) {
96
+ const onCallEmpty = () => this.onCallEmpty?.(call, this.context);
97
+ const onCallNotEmpty = () => this.onCallNotEmpty?.(call, this.context);
98
+ const onCallUpdated = () => this.onCallUpdated?.(call, this.context);
99
+ call.once('close', () => {
100
+ call.off('newclient', this._onClientAdded);
101
+ call.off('empty', onCallEmpty);
102
+ call.off('not-empty', onCallNotEmpty);
103
+ call.off('update', onCallUpdated);
104
+ this.onCallClosed?.(call, this.context);
105
+ });
106
+ call.on('newclient', this._onClientAdded);
107
+ call.on('empty', onCallEmpty);
108
+ call.on('not-empty', onCallNotEmpty);
109
+ call.on('update', onCallUpdated);
110
+ }
111
+ _onClientAdded(observedClient) {
112
+ const onClientIssue = (issue) => this._onClientIssue(observedClient, issue);
113
+ const onClientMetadata = (metaData) => this._onClientMetadata(observedClient, metaData);
114
+ const onClientJoined = () => this._onClientJoined(observedClient);
115
+ const onClientLeft = () => this._onClientLeft(observedClient);
116
+ const onClientRejoined = () => this._onClientRejoined(observedClient);
117
+ const onClientExtensionStats = (extensionStats) => this._onClientExtensionStats(observedClient, extensionStats);
118
+ const onUsingTurn = (usingTurn) => this._onUsingTurn(observedClient, usingTurn);
119
+ const onUserMediaError = (error) => this._onUserMediaError(observedClient, error);
120
+ const onClientUpdated = (...args) => this.onClientUpdated?.(observedClient, args[0].sample, this.context);
121
+ const onClientEvent = (event) => this.onClientEvent?.(observedClient, event, this.context);
122
+ observedClient.once('close', () => {
123
+ observedClient.off('newpeerconnection', this._onPeerConnconnectionAdded);
124
+ observedClient.off('issue', onClientIssue);
125
+ observedClient.off('metaData', onClientMetadata);
126
+ observedClient.off('joined', onClientJoined);
127
+ observedClient.off('left', onClientLeft);
128
+ observedClient.off('rejoined', onClientJoined);
129
+ observedClient.off('usermediaerror', onUserMediaError);
130
+ observedClient.off('usingturn', onUsingTurn);
131
+ observedClient.off('update', onClientUpdated);
132
+ observedClient.off('clientEvent', onClientEvent);
133
+ this.onClientClosed?.(observedClient, this.context);
134
+ });
135
+ observedClient.on('newpeerconnection', this._onPeerConnconnectionAdded);
136
+ observedClient.on('issue', onClientIssue);
137
+ observedClient.on('metaData', onClientMetadata);
138
+ observedClient.on('joined', onClientJoined);
139
+ observedClient.on('left', onClientLeft);
140
+ observedClient.on('rejoined', onClientRejoined);
141
+ observedClient.on('usermediaerror', onUserMediaError);
142
+ observedClient.on('usingturn', onUsingTurn);
143
+ observedClient.on('extensionStats', onClientExtensionStats);
144
+ observedClient.on('update', onClientUpdated);
145
+ observedClient.on('clientEvent', onClientEvent);
146
+ this.onClientAdded?.(observedClient, this.context);
147
+ }
148
+ _onClientRejoined(observedClient) {
149
+ this.onClientRejoined?.(observedClient, this.context);
150
+ }
151
+ _onPeerConnconnectionAdded(peerConnection) {
152
+ const onSelectedCandidatePairChanged = () => this.onSelectedCandidatePairChanged?.(peerConnection, this.context);
153
+ const onIceGatheringStateChange = () => this.onIceGatheringStateChange?.(peerConnection, this.context);
154
+ const onIceConnectionStateChange = () => this.onIceConnectionStateChange?.(peerConnection, this.context);
155
+ const onConnectionStateChange = () => this.onConnectionStateChange?.(peerConnection, this.context);
156
+ peerConnection.once('close', () => {
157
+ peerConnection.off('added-certificate', this._onCertificateAdded);
158
+ peerConnection.off('removed-certificate', this._onCertificateRemoved);
159
+ peerConnection.off('added-inbound-track', this._onInboundTrackAdded);
160
+ peerConnection.off('removed-inbound-track', this._onInboundTrackRemoved);
161
+ peerConnection.off('added-outbound-track', this._onOutboundTrackAdded);
162
+ peerConnection.off('removed-outbound-track', this._onOutboundTrackRemoved);
163
+ peerConnection.off('added-inbound-rtp', this._onInboundRtpAdded);
164
+ peerConnection.off('removed-inbound-rtp', this._onInboundRtpRemoved);
165
+ peerConnection.off('added-outbound-rtp', this._onOutboundRtpAdded);
166
+ peerConnection.off('removed-outbound-rtp', this._onOutboundRtpRemoved);
167
+ peerConnection.off('added-data-channel', this._onDataChannelAdded);
168
+ peerConnection.off('removed-data-channel', this._onDataChannelRemoved);
169
+ peerConnection.off('added-ice-transport', this._onAddedIceTransport);
170
+ peerConnection.off('removed-ice-transport', this._onRemovedIceTransport);
171
+ peerConnection.off('added-ice-candidate', this._onIceCandidateAdded);
172
+ peerConnection.off('removed-ice-candidate', this._onIceCandidateRemoved);
173
+ peerConnection.off('added-ice-candidate-pair', this._onAddedIceCandidatePair);
174
+ peerConnection.off('removed-ice-candidate-pair', this._onRemovedIceCandidatePair);
175
+ peerConnection.off('added-codec', this._onAddedMediaCodec);
176
+ peerConnection.off('removed-codec', this._onRemovedMediaCodec);
177
+ peerConnection.off('added-media-playout', this._onAddedMediaPlayout);
178
+ peerConnection.off('removed-media-playout', this._onRemovedMediaPlayout);
179
+ peerConnection.off('added-media-source', this._onMediaSourceAdded);
180
+ peerConnection.off('removed-media-source', this._onMediaSourceRemoved);
181
+ peerConnection.off('selectedcandidatepair', onSelectedCandidatePairChanged);
182
+ peerConnection.off('icegatheringstatechange', onIceGatheringStateChange);
183
+ peerConnection.off('iceconnectionstatechange', onIceConnectionStateChange);
184
+ peerConnection.off('connectionstatechange', onConnectionStateChange);
185
+ this.onPeerConnectionRemoved?.(peerConnection, this.context);
186
+ });
187
+ peerConnection.on('added-certificate', this._onCertificateAdded);
188
+ peerConnection.on('removed-certificate', this._onCertificateRemoved);
189
+ peerConnection.on('added-inbound-track', this._onInboundTrackAdded);
190
+ peerConnection.on('removed-inbound-track', this._onInboundTrackRemoved);
191
+ peerConnection.on('added-outbound-track', this._onOutboundTrackAdded);
192
+ peerConnection.on('removed-outbound-track', this._onOutboundTrackRemoved);
193
+ peerConnection.on('added-inbound-rtp', this._onInboundRtpAdded);
194
+ peerConnection.on('removed-inbound-rtp', this._onInboundRtpRemoved);
195
+ peerConnection.on('added-outbound-rtp', this._onOutboundRtpAdded);
196
+ peerConnection.on('removed-outbound-rtp', this._onOutboundRtpRemoved);
197
+ peerConnection.on('added-data-channel', this._onDataChannelAdded);
198
+ peerConnection.on('removed-data-channel', this._onDataChannelRemoved);
199
+ peerConnection.on('added-ice-transport', this._onAddedIceTransport);
200
+ peerConnection.on('removed-ice-transport', this._onRemovedIceTransport);
201
+ peerConnection.on('added-ice-candidate', this._onIceCandidateAdded);
202
+ peerConnection.on('removed-ice-candidate', this._onIceCandidateRemoved);
203
+ peerConnection.on('added-ice-candidate-pair', this._onAddedIceCandidatePair);
204
+ peerConnection.on('removed-ice-candidate-pair', this._onRemovedIceCandidatePair);
205
+ peerConnection.on('added-codec', this._onAddedMediaCodec);
206
+ peerConnection.on('removed-codec', this._onRemovedMediaCodec);
207
+ peerConnection.on('added-media-playout', this._onAddedMediaPlayout);
208
+ peerConnection.on('removed-media-playout', this._onRemovedMediaPlayout);
209
+ peerConnection.on('added-media-source', this._onMediaSourceAdded);
210
+ peerConnection.on('removed-media-source', this._onMediaSourceRemoved);
211
+ peerConnection.on('selectedcandidatepair', onSelectedCandidatePairChanged);
212
+ peerConnection.on('icegatheringstatechange', onIceGatheringStateChange);
213
+ peerConnection.on('iceconnectionstatechange', onIceConnectionStateChange);
214
+ peerConnection.on('connectionstatechange', onConnectionStateChange);
215
+ this.onPeerConnectionAdded?.(peerConnection, this.context);
216
+ }
217
+ _onPeerConnectionRemoved(peerConnection) {
218
+ this.onPeerConnectionRemoved?.(peerConnection, this.context);
219
+ }
220
+ _onCertificateAdded(certificate) {
221
+ this.onCertificateAdded?.(certificate, this.context);
222
+ }
223
+ _onCertificateRemoved(certificate) {
224
+ this.onCertificateRemoved?.(certificate, this.context);
225
+ }
226
+ _onInboundTrackAdded(inboundTrack) {
227
+ this.onInboundTrackAdded?.(inboundTrack, this.context);
228
+ }
229
+ _onInboundTrackRemoved(inboundTrack) {
230
+ this.onInboundTrackRemoved?.(inboundTrack, this.context);
231
+ }
232
+ _onOutboundTrackAdded(outboundTrack) {
233
+ this.onOutboundTrackAdded?.(outboundTrack, this.context);
234
+ }
235
+ _onOutboundTrackRemoved(outboundTrack) {
236
+ this.onOutboundTrackRemoved?.(outboundTrack, this.context);
237
+ }
238
+ _onInboundRtpAdded(inboundRtp) {
239
+ this.onInboundRtpAdded?.(inboundRtp, this.context);
240
+ }
241
+ _onInboundRtpRemoved(inboundRtp) {
242
+ this.onInboundRtpRemoved?.(inboundRtp, this.context);
243
+ }
244
+ _onOutboundRtpAdded(outboundRtp) {
245
+ this.onOutboundRtpAdded?.(outboundRtp, this.context);
246
+ }
247
+ _onOutboundRtpRemoved(outboundRtp) {
248
+ this.onOutboundRtpRemoved?.(outboundRtp, this.context);
249
+ }
250
+ _onDataChannelAdded(dataChannel) {
251
+ this.onDataChannelAdded?.(dataChannel, this.context);
252
+ }
253
+ _onDataChannelRemoved(dataChannel) {
254
+ this.onDataChannelRemoved?.(dataChannel, this.context);
255
+ }
256
+ _onAddedIceTransport(iceTransport) {
257
+ this.onAddedIceTransport?.(iceTransport, this.context);
258
+ }
259
+ _onRemovedIceTransport(iceTransport) {
260
+ this.onRemovedIceTransport?.(iceTransport, this.context);
261
+ }
262
+ _onIceCandidateAdded(iceCandidate) {
263
+ this.onIceCandidateAdded?.(iceCandidate, this.context);
264
+ }
265
+ _onIceCandidateRemoved(iceCandidate) {
266
+ this.onIceCandidateRemoved?.(iceCandidate, this.context);
267
+ }
268
+ _onAddedIceCandidatePair(candidatePair) {
269
+ this.onAddedIceCandidatePair?.(candidatePair, this.context);
270
+ }
271
+ _onRemovedIceCandidatePair(candidatePair) {
272
+ this.onRemovedIceCandidatePair?.(candidatePair, this.context);
273
+ }
274
+ _onAddedMediaCodec(codec) {
275
+ this.onAddedMediaCodec?.(codec, this.context);
276
+ }
277
+ _onRemovedMediaCodec(codec) {
278
+ this.onRemovedMediaCodec?.(codec, this.context);
279
+ }
280
+ _onAddedMediaPlayout(mediaPlayout) {
281
+ this.onAddedMediaPlayout?.(mediaPlayout, this.context);
282
+ }
283
+ _onRemovedMediaPlayout(mediaPlayout) {
284
+ this.onRemovedMediaPlayout?.(mediaPlayout, this.context);
285
+ }
286
+ _onMediaSourceAdded(mediaSource) {
287
+ this.onMediaSourceAdded?.(mediaSource, this.context);
288
+ }
289
+ _onMediaSourceRemoved(mediaSource) {
290
+ this.onMediaSourceRemoved?.(mediaSource, this.context);
291
+ }
292
+ _onClientIssue(observedClent, issue) {
293
+ this.onClientIssue?.(observedClent, issue, this.context);
294
+ }
295
+ _onClientMetadata(observedClient, metadata) {
296
+ this.onClientMetadata?.(observedClient, metadata, this.context);
297
+ }
298
+ _onClientExtensionStats(observedClient, extensionStats) {
299
+ this.onClientExtensionStats?.(observedClient, extensionStats, this.context);
300
+ }
301
+ _onClientJoined(observedClient) {
302
+ this.onClientJoined?.(observedClient, this.context);
303
+ }
304
+ _onClientLeft(observedClient) {
305
+ this.onClientLeft?.(observedClient, this.context);
306
+ }
307
+ _onUserMediaError(observedClient, error) {
308
+ this.onClientUserMediaError?.(observedClient, error, this.context);
309
+ }
310
+ _onUsingTurn(observedClient, usingTurn) {
311
+ this.onClientUsingTurn?.(observedClient, usingTurn, this.context);
312
+ }
313
+ }
314
+ exports.ObservedCallEventMonitor = ObservedCallEventMonitor;
@@ -0,0 +1,18 @@
1
+ export type ObservedCallSummary = {
2
+ currentActiveClients: number;
3
+ totalAddedClients: number;
4
+ totalRemovedClients: number;
5
+ totalClientsSentBytes: number;
6
+ totalClientsReceivedBytes: number;
7
+ totalClientsReceivedAudioBytes: number;
8
+ totalClientsReceivedVideoBytes: number;
9
+ totalClientsSentAudioBytes: number;
10
+ totalClientsSentVideoBytes: number;
11
+ totalRttLt50Measurements: number;
12
+ totalRttLt150Measurements: number;
13
+ totalRttLt300Measurements: number;
14
+ totalRttGtOrEq300Measurements: number;
15
+ numberOfIssues: number;
16
+ numberOfClientsUsedTurn: number;
17
+ };
18
+ //# sourceMappingURL=ObservedCallSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObservedCallSummary.d.ts","sourceRoot":"","sources":["../src/ObservedCallSummary.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAE7B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAE5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,yBAAyB,EAAE,MAAM,CAAC;IAClC,8BAA8B,EAAE,MAAM,CAAC;IACvC,8BAA8B,EAAE,MAAM,CAAC;IACvC,0BAA0B,EAAE,MAAM,CAAC;IACnC,0BAA0B,EAAE,MAAM,CAAC;IAEnC,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAClC,6BAA6B,EAAE,MAAM,CAAC;IAEtC,cAAc,EAAE,MAAM,CAAC;IAEvB,uBAAuB,EAAE,MAAM,CAAC;CAChC,CAAA"}
@@ -1,8 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  import { EventEmitter } from 'events';
3
3
  import { ObservedPeerConnection } from './ObservedPeerConnection';
4
- import { ClientMetaData, ClientSample, ClientIssue, ExtensionStat } from './schema/ClientSample';
5
- import * as MetaData from './schema/metaTypes';
4
+ import { ClientEvent, ClientMetaData, ClientSample, ClientIssue, ExtensionStat } from './schema/ClientSample';
5
+ import * as MetaData from './schema/ClientMetaTypes';
6
6
  import { ObservedCall } from './ObservedCall';
7
7
  import { CalculatedScore } from './scores/CalculatedScore';
8
8
  import { Detectors } from './detectors/Detectors';
@@ -19,10 +19,14 @@ export type ObservedClientEvents = {
19
19
  ];
20
20
  close: [];
21
21
  joined: [];
22
+ issue: [ClientIssue];
23
+ metaData: [ClientMetaData];
22
24
  rejoined: [timestamp: number];
23
25
  left: [];
24
26
  usingturn: [boolean];
25
27
  usermediaerror: [string];
28
+ extensionStats: [ExtensionStat];
29
+ clientEvent: [ClientEvent];
26
30
  newpeerconnection: [ObservedPeerConnection];
27
31
  };
28
32
  export declare interface ObservedClient {
@@ -37,36 +41,91 @@ export declare class ObservedClient<AppData extends Record<string, unknown> = Re
37
41
  readonly clientId: string;
38
42
  readonly observedPeerConnections: Map<string, ObservedPeerConnection>;
39
43
  readonly calculatedScore: CalculatedScore;
40
- appData?: AppData;
44
+ appData: AppData;
41
45
  attachments?: Record<string, unknown>;
42
46
  updated: number;
43
47
  acceptedSamples: number;
44
48
  closed: boolean;
45
49
  joinedAt?: number;
46
50
  leftAt?: number;
51
+ closedAt?: number;
47
52
  operationSystem?: MetaData.OperationSystem;
48
53
  engine?: MetaData.Engine;
49
54
  platform?: MetaData.Platform;
50
55
  browser?: MetaData.Browser;
51
56
  mediaConstraints: string[];
52
57
  usingTURN: boolean;
58
+ usingTCP: boolean;
53
59
  availableOutgoingBitrate: number;
54
60
  availableIncomingBitrate: number;
55
- avgRttInMs?: number;
56
- outboundAudioBitrate?: number;
57
- outboundVideoBitrate?: number;
58
- inboundAudioBitrate?: number;
59
- inboundVideoBitrate?: number;
61
+ totalInboundPacketsLost: number;
62
+ totalInboundPacketsReceived: number;
63
+ totalOutboundPacketsSent: number;
64
+ totalDataChannelBytesSent: number;
65
+ totalDataChannelBytesReceived: number;
66
+ totalDataChannelMessagesSent: number;
67
+ totalDataChannelMessagesReceived: number;
68
+ totalReceivedAudioBytes: number;
69
+ totalReceivedVideoBytes: number;
70
+ totalSentAudioBytes: number;
71
+ totalSentVideoBytes: number;
72
+ totalSentBytes: number;
73
+ totalReceivedBytes: number;
74
+ deltaReceivedAudioBytes: number;
75
+ deltaReceivedVideoBytes: number;
76
+ deltaSentAudioBytes: number;
77
+ deltaSentVideoBytes: number;
78
+ deltaDataChannelBytesSent: number;
79
+ deltaDataChannelBytesReceived: number;
80
+ deltaDataChannelMessagesSent: number;
81
+ deltaDataChannelMessagesReceived: number;
82
+ deltaInboundPacketsLost: number;
83
+ deltaInboundPacketsReceived: number;
84
+ deltaOutboundPacketsSent: number;
85
+ deltaTransportSentBytes: number;
86
+ deltaTransportReceivedBytes: number;
87
+ deltaRttLt50Measurements: number;
88
+ deltaRttLt150Measurements: number;
89
+ deltaRttLt300Measurements: number;
90
+ deltaRttGtOrEq300Measurements: number;
91
+ currentMaxRttInMs?: number;
92
+ currentMinRttInMs?: number;
93
+ currentAvgRttInMs?: number;
94
+ sendingAudioBitrate: number;
95
+ sendingVideoBitrate: number;
96
+ receivingAudioBitrate: number;
97
+ receivingVideoBitrate: number;
98
+ numberOfInboundRtpStreams: number;
99
+ numberOfInbundTracks: number;
100
+ numberOfOutboundRtpStreams: number;
101
+ numberOfOutboundTracks: number;
102
+ numberOfDataChannels: number;
103
+ totalRttLt50Measurements: number;
104
+ totalRttLt150Measurements: number;
105
+ totalRttLt300Measurements: number;
106
+ totalRttGtOrEq300Measurements: number;
107
+ deltaNumberOfIssues: number;
108
+ totalScoreSum: number;
109
+ numberOfScoreMeasurements: number;
110
+ totalNumberOfIssues: number;
60
111
  readonly mediaDevices: MetaData.MediaDeviceInfo[];
61
112
  issues: ClientIssue[];
113
+ private _injections;
62
114
  constructor(settings: ObservedClientSettings<AppData>, call: ObservedCall);
115
+ get numberOfPeerConnections(): number;
63
116
  get score(): number | undefined;
64
117
  close(): void;
65
118
  accept(sample: ClientSample): void;
66
119
  private _processClientEvent;
67
- processMetadata(metadata: ClientMetaData): void;
68
- processIssue(issue: ClientIssue): void;
69
- processExtensionStats(stats: ExtensionStat): void;
120
+ injectMetaData(metaData: ClientMetaData): void;
121
+ injectEvent(event: ClientEvent): void;
122
+ injectIssue(issue: ClientIssue): void;
123
+ injectExtensionStat(stat: ExtensionStat): void;
124
+ injectAttachment(key: string, value: unknown): void;
125
+ addMetadata(metadata: ClientMetaData): void;
126
+ addIssue(issue: ClientIssue): void;
127
+ addExtensionStats(stats: ExtensionStat): void;
70
128
  private _updatePeerConnection;
129
+ private _mergeInjections;
71
130
  }
72
131
  //# sourceMapping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