@observertc/observer-js 0.9.26-beta → 0.30.0-beta

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 (298) hide show
  1. package/lib/ObservedCall.d.ts +54 -0
  2. package/lib/ObservedCall.d.ts.map +1 -0
  3. package/lib/ObservedCall.js +166 -0
  4. package/lib/ObservedClient.d.ts +73 -0
  5. package/lib/ObservedClient.d.ts.map +1 -0
  6. package/lib/ObservedClient.js +487 -0
  7. package/lib/ObservedInboundTrack.d.ts +65 -0
  8. package/lib/ObservedInboundTrack.d.ts.map +1 -0
  9. package/lib/ObservedInboundTrack.js +192 -0
  10. package/lib/ObservedOutboundTrack.d.ts +55 -0
  11. package/lib/ObservedOutboundTrack.d.ts.map +1 -0
  12. package/lib/ObservedOutboundTrack.js +166 -0
  13. package/lib/ObservedPeerConnection.d.ts +57 -0
  14. package/lib/ObservedPeerConnection.d.ts.map +1 -0
  15. package/lib/ObservedPeerConnection.js +217 -0
  16. package/lib/Observer.d.ts +26 -1465
  17. package/lib/Observer.d.ts.map +1 -1
  18. package/lib/Observer.js +53 -605
  19. package/lib/{sinks/ObserverSink.d.ts → ReportsCollector.d.ts} +7 -23
  20. package/lib/ReportsCollector.d.ts.map +1 -0
  21. package/lib/{sinks/ObserverSink.js → ReportsCollector.js} +27 -85
  22. package/lib/common/ReportsCollector.d.ts +21 -24
  23. package/lib/common/ReportsCollector.d.ts.map +1 -1
  24. package/lib/common/ReportsCollector.js +24 -0
  25. package/lib/common/SingleExecutor.d.ts +3 -0
  26. package/lib/common/SingleExecutor.d.ts.map +1 -0
  27. package/lib/common/SingleExecutor.js +31 -0
  28. package/lib/common/TypedEventEmitter.d.ts +22 -0
  29. package/lib/common/TypedEventEmitter.d.ts.map +1 -0
  30. package/lib/common/TypedEventEmitter.js +11 -0
  31. package/lib/common/callEventReports.d.ts.map +1 -0
  32. package/lib/common/logger.d.ts +3 -9
  33. package/lib/common/logger.d.ts.map +1 -1
  34. package/lib/common/logger.js +58 -141
  35. package/lib/common/types.d.ts +2 -14
  36. package/lib/common/types.d.ts.map +1 -1
  37. package/lib/common/utils.d.ts +1 -0
  38. package/lib/common/utils.d.ts.map +1 -1
  39. package/lib/common/utils.js +6 -1
  40. package/lib/index.d.ts +8 -19
  41. package/lib/index.d.ts.map +1 -1
  42. package/lib/index.js +7 -2
  43. package/package.json +1 -1
  44. package/src/ObservedCall.ts +201 -0
  45. package/src/ObservedClient.ts +681 -0
  46. package/src/ObservedInboundTrack.ts +238 -0
  47. package/src/ObservedOutboundTrack.ts +205 -0
  48. package/src/ObservedPeerConnection.ts +249 -0
  49. package/src/Observer.ts +86 -442
  50. package/src/{sinks/ObserverSink.ts → ReportsCollector.ts} +29 -94
  51. package/src/common/ReportsCollector.ts +48 -23
  52. package/src/common/SingleExecutor.ts +36 -0
  53. package/src/common/TypedEventEmitter.ts +32 -0
  54. package/src/common/logger.ts +58 -161
  55. package/src/common/types.ts +4 -24
  56. package/src/common/utils.ts +6 -0
  57. package/src/index.ts +12 -23
  58. package/lib/Evaluator.d.ts +0 -43
  59. package/lib/Evaluator.d.ts.map +0 -1
  60. package/lib/Evaluator.js +0 -171
  61. package/lib/common/Semaphore.d.ts +0 -31
  62. package/lib/common/Semaphore.d.ts.map +0 -1
  63. package/lib/common/Semaphore.js +0 -16
  64. package/lib/entries/CallEntry.d.ts +0 -619
  65. package/lib/entries/CallEntry.d.ts.map +0 -1
  66. package/lib/entries/CallEntry.js +0 -75
  67. package/lib/entries/ClientEntry.d.ts +0 -478
  68. package/lib/entries/ClientEntry.d.ts.map +0 -1
  69. package/lib/entries/ClientEntry.js +0 -114
  70. package/lib/entries/InboundTrackEntry.d.ts +0 -682
  71. package/lib/entries/InboundTrackEntry.d.ts.map +0 -1
  72. package/lib/entries/InboundTrackEntry.js +0 -76
  73. package/lib/entries/OutboundTrackEntry.d.ts +0 -682
  74. package/lib/entries/OutboundTrackEntry.d.ts.map +0 -1
  75. package/lib/entries/OutboundTrackEntry.js +0 -73
  76. package/lib/entries/PeerConnectionEntry.d.ts +0 -505
  77. package/lib/entries/PeerConnectionEntry.d.ts.map +0 -1
  78. package/lib/entries/PeerConnectionEntry.js +0 -144
  79. package/lib/entries/SfuEntry.d.ts +0 -150
  80. package/lib/entries/SfuEntry.d.ts.map +0 -1
  81. package/lib/entries/SfuEntry.js +0 -77
  82. package/lib/entries/SfuInboundRtpPadEntry.d.ts +0 -14
  83. package/lib/entries/SfuInboundRtpPadEntry.d.ts.map +0 -1
  84. package/lib/entries/SfuInboundRtpPadEntry.js +0 -49
  85. package/lib/entries/SfuOutboundRtpPadEntry.d.ts +0 -14
  86. package/lib/entries/SfuOutboundRtpPadEntry.d.ts.map +0 -1
  87. package/lib/entries/SfuOutboundRtpPadEntry.js +0 -47
  88. package/lib/entries/SfuSctpChannelEntry.d.ts +0 -12
  89. package/lib/entries/SfuSctpChannelEntry.d.ts.map +0 -1
  90. package/lib/entries/SfuSctpChannelEntry.js +0 -43
  91. package/lib/entries/SfuTransportEntry.d.ts +0 -82
  92. package/lib/entries/SfuTransportEntry.d.ts.map +0 -1
  93. package/lib/entries/SfuTransportEntry.js +0 -122
  94. package/lib/evaluators/SetClientsCoordinateEvaluator.d.ts +0 -9
  95. package/lib/evaluators/SetClientsCoordinateEvaluator.d.ts.map +0 -1
  96. package/lib/evaluators/SetClientsCoordinateEvaluator.js +0 -95
  97. package/lib/middlewares/CallOperationsContext.d.ts +0 -18
  98. package/lib/middlewares/CallOperationsContext.d.ts.map +0 -1
  99. package/lib/middlewares/CallOperationsContext.js +0 -27
  100. package/lib/middlewares/CallProcessor.d.ts +0 -6
  101. package/lib/middlewares/CallProcessor.d.ts.map +0 -1
  102. package/lib/middlewares/CallProcessor.js +0 -36
  103. package/lib/middlewares/CommitTransactionMiddleware.d.ts +0 -6
  104. package/lib/middlewares/CommitTransactionMiddleware.d.ts.map +0 -1
  105. package/lib/middlewares/CommitTransactionMiddleware.js +0 -179
  106. package/lib/middlewares/DeleteOutdatedCallEntries.d.ts +0 -6
  107. package/lib/middlewares/DeleteOutdatedCallEntries.d.ts.map +0 -1
  108. package/lib/middlewares/DeleteOutdatedCallEntries.js +0 -121
  109. package/lib/middlewares/DeleteOutdatedSfuEntries.d.ts +0 -6
  110. package/lib/middlewares/DeleteOutdatedSfuEntries.d.ts.map +0 -1
  111. package/lib/middlewares/DeleteOutdatedSfuEntries.js +0 -127
  112. package/lib/middlewares/Middleware.d.ts +0 -3
  113. package/lib/middlewares/Middleware.d.ts.map +0 -1
  114. package/lib/middlewares/Middleware.js +0 -21
  115. package/lib/middlewares/Processor.d.ts +0 -9
  116. package/lib/middlewares/Processor.d.ts.map +0 -1
  117. package/lib/middlewares/Processor.js +0 -54
  118. package/lib/middlewares/TransactionContext.d.ts +0 -35
  119. package/lib/middlewares/TransactionContext.d.ts.map +0 -1
  120. package/lib/middlewares/TransactionContext.js +0 -90
  121. package/lib/middlewares/TransactoinProcessor.d.ts +0 -6
  122. package/lib/middlewares/TransactoinProcessor.d.ts.map +0 -1
  123. package/lib/middlewares/TransactoinProcessor.js +0 -17
  124. package/lib/middlewares/VisitObservedCallsMiddleware.d.ts +0 -7
  125. package/lib/middlewares/VisitObservedCallsMiddleware.d.ts.map +0 -1
  126. package/lib/middlewares/VisitObservedCallsMiddleware.js +0 -96
  127. package/lib/middlewares/VisitObservedSfusMiddleware.d.ts +0 -6
  128. package/lib/middlewares/VisitObservedSfusMiddleware.d.ts.map +0 -1
  129. package/lib/middlewares/VisitObservedSfusMiddleware.js +0 -151
  130. package/lib/middlewares/visitors/visitClient.d.ts +0 -5
  131. package/lib/middlewares/visitors/visitClient.d.ts.map +0 -1
  132. package/lib/middlewares/visitors/visitClient.js +0 -174
  133. package/lib/middlewares/visitors/visitInboundAudioTrack.d.ts +0 -5
  134. package/lib/middlewares/visitors/visitInboundAudioTrack.d.ts.map +0 -1
  135. package/lib/middlewares/visitors/visitInboundAudioTrack.js +0 -93
  136. package/lib/middlewares/visitors/visitInboundVideoTrack.d.ts +0 -5
  137. package/lib/middlewares/visitors/visitInboundVideoTrack.d.ts.map +0 -1
  138. package/lib/middlewares/visitors/visitInboundVideoTrack.js +0 -94
  139. package/lib/middlewares/visitors/visitOutboundAudioTrack.d.ts +0 -5
  140. package/lib/middlewares/visitors/visitOutboundAudioTrack.d.ts.map +0 -1
  141. package/lib/middlewares/visitors/visitOutboundAudioTrack.js +0 -90
  142. package/lib/middlewares/visitors/visitOutboundVideoTarck.d.ts +0 -5
  143. package/lib/middlewares/visitors/visitOutboundVideoTarck.d.ts.map +0 -1
  144. package/lib/middlewares/visitors/visitOutboundVideoTarck.js +0 -90
  145. package/lib/middlewares/visitors/visitPeerConnection.d.ts +0 -5
  146. package/lib/middlewares/visitors/visitPeerConnection.d.ts.map +0 -1
  147. package/lib/middlewares/visitors/visitPeerConnection.js +0 -111
  148. package/lib/middlewares/visitors/visitSfu.d.ts +0 -5
  149. package/lib/middlewares/visitors/visitSfu.d.ts.map +0 -1
  150. package/lib/middlewares/visitors/visitSfu.js +0 -78
  151. package/lib/middlewares/visitors/visitSfuInboundRtpPad.d.ts +0 -5
  152. package/lib/middlewares/visitors/visitSfuInboundRtpPad.d.ts.map +0 -1
  153. package/lib/middlewares/visitors/visitSfuInboundRtpPad.js +0 -56
  154. package/lib/middlewares/visitors/visitSfuOutboundRtpPad.d.ts +0 -5
  155. package/lib/middlewares/visitors/visitSfuOutboundRtpPad.d.ts.map +0 -1
  156. package/lib/middlewares/visitors/visitSfuOutboundRtpPad.js +0 -56
  157. package/lib/middlewares/visitors/visitSfuSctpChannel.d.ts +0 -5
  158. package/lib/middlewares/visitors/visitSfuSctpChannel.d.ts.map +0 -1
  159. package/lib/middlewares/visitors/visitSfuSctpChannel.js +0 -55
  160. package/lib/middlewares/visitors/visitSfuTransport.d.ts +0 -5
  161. package/lib/middlewares/visitors/visitSfuTransport.d.ts.map +0 -1
  162. package/lib/middlewares/visitors/visitSfuTransport.js +0 -56
  163. package/lib/processes/closePeerConnectionProcess.d.ts +0 -10
  164. package/lib/processes/closePeerConnectionProcess.d.ts.map +0 -1
  165. package/lib/processes/closePeerConnectionProcess.js +0 -51
  166. package/lib/processes/detachClientProcess.d.ts +0 -14
  167. package/lib/processes/detachClientProcess.d.ts.map +0 -1
  168. package/lib/processes/detachClientProcess.js +0 -106
  169. package/lib/processes/findRemoteMatches.d.ts +0 -9
  170. package/lib/processes/findRemoteMatches.d.ts.map +0 -1
  171. package/lib/processes/findRemoteMatches.js +0 -96
  172. package/lib/processes/inboundTrackRemoved.d.ts +0 -9
  173. package/lib/processes/inboundTrackRemoved.d.ts.map +0 -1
  174. package/lib/processes/inboundTrackRemoved.js +0 -22
  175. package/lib/processes/joinClientProcess.d.ts +0 -11
  176. package/lib/processes/joinClientProcess.d.ts.map +0 -1
  177. package/lib/processes/joinClientProcess.js +0 -120
  178. package/lib/processes/outboundTrackRemoved.d.ts +0 -9
  179. package/lib/processes/outboundTrackRemoved.d.ts.map +0 -1
  180. package/lib/processes/outboundTrackRemoved.js +0 -22
  181. package/lib/samples/ObservedCall.d.ts +0 -17
  182. package/lib/samples/ObservedCall.d.ts.map +0 -1
  183. package/lib/samples/ObservedCall.js +0 -29
  184. package/lib/samples/ObservedCalls.d.ts +0 -19
  185. package/lib/samples/ObservedCalls.d.ts.map +0 -1
  186. package/lib/samples/ObservedCalls.js +0 -113
  187. package/lib/samples/ObservedClient.d.ts +0 -28
  188. package/lib/samples/ObservedClient.d.ts.map +0 -1
  189. package/lib/samples/ObservedClient.js +0 -110
  190. package/lib/samples/ObservedInboundAudioTrack.d.ts +0 -17
  191. package/lib/samples/ObservedInboundAudioTrack.d.ts.map +0 -1
  192. package/lib/samples/ObservedInboundAudioTrack.js +0 -17
  193. package/lib/samples/ObservedInboundVideoTrack.d.ts +0 -17
  194. package/lib/samples/ObservedInboundVideoTrack.d.ts.map +0 -1
  195. package/lib/samples/ObservedInboundVideoTrack.js +0 -17
  196. package/lib/samples/ObservedOutboundAudioTrack.d.ts +0 -16
  197. package/lib/samples/ObservedOutboundAudioTrack.d.ts.map +0 -1
  198. package/lib/samples/ObservedOutboundAudioTrack.js +0 -17
  199. package/lib/samples/ObservedOutboundVideoTrack.d.ts +0 -16
  200. package/lib/samples/ObservedOutboundVideoTrack.d.ts.map +0 -1
  201. package/lib/samples/ObservedOutboundVideoTrack.js +0 -17
  202. package/lib/samples/ObservedPeerConnection.d.ts +0 -47
  203. package/lib/samples/ObservedPeerConnection.d.ts.map +0 -1
  204. package/lib/samples/ObservedPeerConnection.js +0 -130
  205. package/lib/samples/ObservedSfu.d.ts +0 -27
  206. package/lib/samples/ObservedSfu.d.ts.map +0 -1
  207. package/lib/samples/ObservedSfu.js +0 -65
  208. package/lib/samples/ObservedSfuInboundRtpPad.d.ts +0 -15
  209. package/lib/samples/ObservedSfuInboundRtpPad.d.ts.map +0 -1
  210. package/lib/samples/ObservedSfuInboundRtpPad.js +0 -17
  211. package/lib/samples/ObservedSfuOutboundRtpPad.d.ts +0 -15
  212. package/lib/samples/ObservedSfuOutboundRtpPad.d.ts.map +0 -1
  213. package/lib/samples/ObservedSfuOutboundRtpPad.js +0 -17
  214. package/lib/samples/ObservedSfuSctpChannel.d.ts +0 -15
  215. package/lib/samples/ObservedSfuSctpChannel.d.ts.map +0 -1
  216. package/lib/samples/ObservedSfuSctpChannel.js +0 -17
  217. package/lib/samples/ObservedSfuTransport.d.ts +0 -30
  218. package/lib/samples/ObservedSfuTransport.d.ts.map +0 -1
  219. package/lib/samples/ObservedSfuTransport.js +0 -86
  220. package/lib/samples/ObservedSfus.d.ts +0 -16
  221. package/lib/samples/ObservedSfus.d.ts.map +0 -1
  222. package/lib/samples/ObservedSfus.js +0 -72
  223. package/lib/sinks/ObserverSink.d.ts.map +0 -1
  224. package/lib/sinks/callEventReports.d.ts.map +0 -1
  225. package/lib/sources/ObservedCallSource.d.ts +0 -18
  226. package/lib/sources/ObservedCallSource.d.ts.map +0 -1
  227. package/lib/sources/ObservedCallSource.js +0 -2
  228. package/lib/sources/ObservedClientSource.d.ts +0 -19
  229. package/lib/sources/ObservedClientSource.d.ts.map +0 -1
  230. package/lib/sources/ObservedClientSource.js +0 -2
  231. package/lib/sources/ObservedSfuSource.d.ts +0 -15
  232. package/lib/sources/ObservedSfuSource.d.ts.map +0 -1
  233. package/lib/sources/ObservedSfuSource.js +0 -2
  234. package/lib/sources/Sources.d.ts +0 -47
  235. package/lib/sources/Sources.d.ts.map +0 -1
  236. package/lib/sources/Sources.js +0 -211
  237. package/src/Evaluator.ts +0 -229
  238. package/src/common/Semaphore.ts +0 -45
  239. package/src/entries/CallEntry.ts +0 -62
  240. package/src/entries/ClientEntry.ts +0 -106
  241. package/src/entries/InboundTrackEntry.ts +0 -74
  242. package/src/entries/OutboundTrackEntry.ts +0 -72
  243. package/src/entries/PeerConnectionEntry.ts +0 -133
  244. package/src/entries/SfuEntry.ts +0 -62
  245. package/src/entries/SfuInboundRtpPadEntry.ts +0 -46
  246. package/src/entries/SfuOutboundRtpPadEntry.ts +0 -44
  247. package/src/entries/SfuSctpChannelEntry.ts +0 -39
  248. package/src/entries/SfuTransportEntry.ts +0 -109
  249. package/src/evaluators/SetClientsCoordinateEvaluator.ts +0 -78
  250. package/src/middlewares/CallOperationsContext.ts +0 -56
  251. package/src/middlewares/CallProcessor.ts +0 -38
  252. package/src/middlewares/CommitTransactionMiddleware.ts +0 -328
  253. package/src/middlewares/DeleteOutdatedCallEntries.ts +0 -159
  254. package/src/middlewares/DeleteOutdatedSfuEntries.ts +0 -168
  255. package/src/middlewares/Middleware.ts +0 -10
  256. package/src/middlewares/Processor.ts +0 -59
  257. package/src/middlewares/TransactionContext.ts +0 -176
  258. package/src/middlewares/TransactoinProcessor.ts +0 -28
  259. package/src/middlewares/VisitObservedCallsMiddleware.ts +0 -172
  260. package/src/middlewares/VisitObservedSfusMiddleware.ts +0 -203
  261. package/src/middlewares/visitors/visitClient.ts +0 -239
  262. package/src/middlewares/visitors/visitInboundAudioTrack.ts +0 -113
  263. package/src/middlewares/visitors/visitInboundVideoTrack.ts +0 -117
  264. package/src/middlewares/visitors/visitOutboundAudioTrack.ts +0 -100
  265. package/src/middlewares/visitors/visitOutboundVideoTarck.ts +0 -102
  266. package/src/middlewares/visitors/visitPeerConnection.ts +0 -151
  267. package/src/middlewares/visitors/visitSfu.ts +0 -70
  268. package/src/middlewares/visitors/visitSfuInboundRtpPad.ts +0 -52
  269. package/src/middlewares/visitors/visitSfuOutboundRtpPad.ts +0 -53
  270. package/src/middlewares/visitors/visitSfuSctpChannel.ts +0 -50
  271. package/src/middlewares/visitors/visitSfuTransport.ts +0 -50
  272. package/src/processes/closePeerConnectionProcess.ts +0 -54
  273. package/src/processes/detachClientProcess.ts +0 -136
  274. package/src/processes/findRemoteMatches.ts +0 -104
  275. package/src/processes/inboundTrackRemoved.ts +0 -22
  276. package/src/processes/joinClientProcess.ts +0 -138
  277. package/src/processes/outboundTrackRemoved.ts +0 -22
  278. package/src/samples/ObservedCall.ts +0 -49
  279. package/src/samples/ObservedCalls.ts +0 -143
  280. package/src/samples/ObservedClient.ts +0 -172
  281. package/src/samples/ObservedInboundAudioTrack.ts +0 -35
  282. package/src/samples/ObservedInboundVideoTrack.ts +0 -36
  283. package/src/samples/ObservedOutboundAudioTrack.ts +0 -35
  284. package/src/samples/ObservedOutboundVideoTrack.ts +0 -35
  285. package/src/samples/ObservedPeerConnection.ts +0 -227
  286. package/src/samples/ObservedSfu.ts +0 -115
  287. package/src/samples/ObservedSfuInboundRtpPad.ts +0 -35
  288. package/src/samples/ObservedSfuOutboundRtpPad.ts +0 -35
  289. package/src/samples/ObservedSfuSctpChannel.ts +0 -35
  290. package/src/samples/ObservedSfuTransport.ts +0 -142
  291. package/src/samples/ObservedSfus.ts +0 -95
  292. package/src/sources/ObservedCallSource.ts +0 -26
  293. package/src/sources/ObservedClientSource.ts +0 -28
  294. package/src/sources/ObservedSfuSource.ts +0 -19
  295. package/src/sources/Sources.ts +0 -294
  296. /package/lib/{sinks → common}/callEventReports.d.ts +0 -0
  297. /package/lib/{sinks → common}/callEventReports.js +0 -0
  298. /package/src/{sinks → common}/callEventReports.ts +0 -0
package/lib/Observer.d.ts CHANGED
@@ -1,29 +1,12 @@
1
- import { ObserverReportsEmitter, ObserverSinkProcess, SinkConfig } from './sinks/ObserverSink';
2
- import { Sources, SourcesConfig } from './sources/Sources';
1
+ /// <reference types="node" />
3
2
  import { StorageProvider } from './storages/StorageProvider';
4
- import { EvaluatorConfig, EvaluatorProcess } from './Evaluator';
5
- import { SemaphoreProvider } from './common/Semaphore';
6
- import { ObservedCallSourceConfig, ObservedCallSource } from './sources/ObservedCallSource';
3
+ import { ObservedCall, ObservedCallConfig } from './ObservedCall';
4
+ import { ReportsCollector } from './ReportsCollector';
5
+ import { EventEmitter } from 'events';
7
6
  import { PartialBy } from './common/utils';
8
- import { LogLevel } from './common/logger';
9
- import { ObservedSfuSource, ObservedSfuSourceConfig } from './sources/ObservedSfuSource';
10
- import { CallEntry } from './entries/CallEntry';
11
- import { ClientEntry } from './entries/ClientEntry';
12
- import { PeerConnectionEntry } from './entries/PeerConnectionEntry';
13
- import { InboundTrackEntry } from './entries/InboundTrackEntry';
14
- import { OutboundTrackEntry } from './entries/OutboundTrackEntry';
15
- import { SfuEntry } from './entries/SfuEntry';
16
- import { SfuTransportEntry } from './entries/SfuTransportEntry';
17
- import { SfuInboundRtpPadEntry } from './entries/SfuInboundRtpPadEntry';
18
- import { SfuOutboundRtpPadEntry } from './entries/SfuOutboundRtpPadEntry';
19
- import { SfuSctpChannelEntry } from './entries/SfuSctpChannelEntry';
20
- import { GetClientCoordinate } from './evaluators/SetClientsCoordinateEvaluator';
21
7
  export type ObserverEvents = {
22
- 'processing-started': undefined;
23
- 'client-added': string;
24
- 'client-removed': string;
25
- 'processing-ended': undefined;
26
- 'close': undefined;
8
+ 'newcall': [ObservedCall];
9
+ 'close': [];
27
10
  };
28
11
  export type ObserverConfig = {
29
12
  /**
@@ -40,1455 +23,33 @@ export type ObserverConfig = {
40
23
  * For more information about a mediaUnitId please visit https://observertc.org
41
24
  */
42
25
  defaultMediaUnitId: string;
26
+ maxReports?: number | undefined;
27
+ maxCollectingTimeInMs?: number | undefined;
28
+ storages?: StorageProvider;
43
29
  /**
44
- * Setup the sources
30
+ * before client-monitor-js 3.4.0 the client joined event was generated by the observer, this flag is to keep the compatibility with the old behavior
45
31
  */
46
- sources: SourcesConfig;
47
- evaluator: EvaluatorConfig;
48
- sink: SinkConfig;
49
- storages?: StorageProvider;
50
- semaphores?: SemaphoreProvider;
51
- logLevel: LogLevel;
32
+ addJoinAndDetachClientEvent?: boolean;
52
33
  };
53
- export declare class Observer {
34
+ export declare interface Observer {
35
+ on<U extends keyof ObserverEvents>(event: U, listener: (...args: ObserverEvents[U]) => void): this;
36
+ off<U extends keyof ObserverEvents>(event: U, listener: (...args: ObserverEvents[U]) => void): this;
37
+ once<U extends keyof ObserverEvents>(event: U, listener: (...args: ObserverEvents[U]) => void): this;
38
+ emit<U extends keyof ObserverEvents>(event: U, ...args: ObserverEvents[U]): boolean;
39
+ }
40
+ export declare class Observer extends EventEmitter {
54
41
  readonly config: ObserverConfig;
55
- private readonly _storages;
56
- private readonly _semaphores;
42
+ readonly storage: StorageProvider;
57
43
  static create(providedConfig: Partial<ObserverConfig>): Observer;
58
- private readonly _emitter;
59
- private _sources;
60
- private _sink;
61
- private _evaluator;
44
+ readonly reports: ReportsCollector;
45
+ private readonly _observedCalls;
46
+ private _reportTimer?;
62
47
  private _closed;
63
- constructor(config: ObserverConfig, _storages: StorageProvider, _semaphores: SemaphoreProvider);
64
- get sources(): Sources;
65
- on<K extends keyof ObserverEvents>(event: K, listener: (arg: ObserverEvents[K]) => void): this;
66
- once<K extends keyof ObserverEvents>(event: K, listener: (arg: ObserverEvents[K]) => void): this;
67
- off<K extends keyof ObserverEvents>(event: K, listener: (arg: ObserverEvents[K]) => void): this;
68
- createCallSource<T extends Record<string, unknown> = Record<string, unknown>>(config: PartialBy<ObservedCallSourceConfig<T>, 'serviceId' | 'mediaUnitId' | 'appData'>): ObservedCallSource<T>;
69
- createSfuSource<T extends Record<string, unknown> = Record<string, unknown>>(config: PartialBy<ObservedSfuSourceConfig<T>, 'serviceId' | 'mediaUnitId' | 'joined' | 'appData'>): ObservedSfuSource;
70
- evaluate(): Promise<void>;
71
- get reports(): ObserverReportsEmitter;
72
- addEvaluators(...processes: EvaluatorProcess[]): void;
73
- removeEvaluators(...processes: EvaluatorProcess[]): void;
74
- addCoordinateEvaluator(getClientCoordinate: GetClientCoordinate): void;
75
- addSinks(...processes: ObserverSinkProcess[]): void;
76
- removeSinks(...processes: ObserverSinkProcess[]): void;
77
- calls(): AsyncIterableIterator<CallEntry>;
78
- sfus(): AsyncIterableIterator<SfuEntry>;
79
- sfuTransports(): AsyncIterableIterator<SfuTransportEntry>;
80
- sfuInboundRtpPads(): AsyncIterableIterator<SfuInboundRtpPadEntry>;
81
- sfuOutboundRtpPads(): AsyncIterableIterator<SfuOutboundRtpPadEntry>;
82
- clients(): AsyncIterableIterator<ClientEntry>;
83
- peerConnections(): AsyncIterableIterator<PeerConnectionEntry>;
84
- getTrack(trackId: string): Promise<void | {
85
- callId: string;
86
- clientId: string;
87
- peerConnectionId: string;
88
- trackId: string;
89
- direction: "inbound";
90
- readonly kind: "audio" | "video";
91
- readonly stats: import("./models/samples_pb").Samples_ClientSample_InboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_InboundVideoTrack[] | undefined;
92
- readonly marker: string | undefined;
93
- readonly ssrc: bigint[];
94
- getCall: () => Promise<void | {
95
- callId: string;
96
- roomId: string;
97
- serviceId: string;
98
- started: bigint;
99
- readonly clientIds: readonly string[];
100
- getClient: (clientId: string) => Promise<void | {
101
- clientId: string;
102
- roomId: string;
103
- serviceId: string;
104
- mediaUnitId: string;
105
- callId: string;
106
- joined: bigint | undefined;
107
- timeZoneId: string | undefined;
108
- readonly browser: import("./models/samples_pb").Samples_ClientSample_Browser | undefined;
109
- readonly engine: import("./models/samples_pb").Samples_ClientSample_Engine | undefined;
110
- readonly operationSystem: import("./models/samples_pb").Samples_ClientSample_OperationSystem | undefined;
111
- readonly platform: import("./models/samples_pb").Samples_ClientSample_Platform | undefined;
112
- readonly peerConnectionIds: readonly string[];
113
- readonly marker: string | undefined;
114
- readonly coordinates: {
115
- latitude: number;
116
- longitude: number;
117
- } | undefined;
118
- getCall: () => Promise<void | any>;
119
- readonly peerConnections: AsyncIterableIterator<void | {
120
- callId: string;
121
- clientId: string;
122
- peerConnectionId: string;
123
- marker: string | undefined;
124
- label: string | undefined;
125
- mediaUnitId: string | undefined;
126
- opened: bigint | undefined;
127
- serviceId: string | undefined;
128
- roomId: string | undefined;
129
- userId: string | undefined;
130
- getClient: () => Promise<void | any>;
131
- getCall: () => Promise<void | any>;
132
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
133
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
134
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
135
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
136
- readonly inboundTrackIds: readonly string[];
137
- readonly outboundTrackIds: readonly string[];
138
- readonly inboundTracks: AsyncIterableIterator<void | any>;
139
- readonly outboundTracks: AsyncIterableIterator<void | {
140
- callId: string;
141
- clientId: string;
142
- peerConnectionId: string;
143
- trackId: string;
144
- direction: "outbound";
145
- readonly kind: "audio" | "video";
146
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
147
- readonly marker: string | undefined;
148
- readonly ssrc: bigint[];
149
- getCall: () => Promise<void | any>;
150
- getClient: () => Promise<void | any>;
151
- getPeerConnection: () => Promise<void | any>;
152
- refresh: () => Promise<void>;
153
- }>;
154
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
155
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
156
- callId: string;
157
- clientId: string;
158
- peerConnectionId: string;
159
- trackId: string;
160
- direction: "outbound";
161
- readonly kind: "audio" | "video";
162
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
163
- readonly marker: string | undefined;
164
- readonly ssrc: bigint[];
165
- getCall: () => Promise<void | any>;
166
- getClient: () => Promise<void | any>;
167
- getPeerConnection: () => Promise<void | any>;
168
- refresh: () => Promise<void>;
169
- }>;
170
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
171
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
172
- callId: string;
173
- clientId: string;
174
- peerConnectionId: string;
175
- trackId: string;
176
- direction: "outbound";
177
- readonly kind: "audio" | "video";
178
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
179
- readonly marker: string | undefined;
180
- readonly ssrc: bigint[];
181
- getCall: () => Promise<void | any>;
182
- getClient: () => Promise<void | any>;
183
- getPeerConnection: () => Promise<void | any>;
184
- refresh: () => Promise<void>;
185
- }>;
186
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
187
- getOutboundTrack(outboundTrackId: string): Promise<void | {
188
- callId: string;
189
- clientId: string;
190
- peerConnectionId: string;
191
- trackId: string;
192
- direction: "outbound";
193
- readonly kind: "audio" | "video";
194
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
195
- readonly marker: string | undefined;
196
- readonly ssrc: bigint[];
197
- getCall: () => Promise<void | any>;
198
- getClient: () => Promise<void | any>;
199
- getPeerConnection: () => Promise<void | any>;
200
- refresh: () => Promise<void>;
201
- }>;
202
- refresh(): Promise<void>;
203
- }>;
204
- getPeerConnection: (peerConnectionId: string) => Promise<void | {
205
- callId: string;
206
- clientId: string;
207
- peerConnectionId: string;
208
- marker: string | undefined;
209
- label: string | undefined;
210
- mediaUnitId: string | undefined;
211
- opened: bigint | undefined;
212
- serviceId: string | undefined;
213
- roomId: string | undefined;
214
- userId: string | undefined;
215
- getClient: () => Promise<void | any>;
216
- getCall: () => Promise<void | any>;
217
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
218
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
219
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
220
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
221
- readonly inboundTrackIds: readonly string[];
222
- readonly outboundTrackIds: readonly string[];
223
- readonly inboundTracks: AsyncIterableIterator<void | any>;
224
- readonly outboundTracks: AsyncIterableIterator<void | {
225
- callId: string;
226
- clientId: string;
227
- peerConnectionId: string;
228
- trackId: string;
229
- direction: "outbound";
230
- readonly kind: "audio" | "video";
231
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
232
- readonly marker: string | undefined;
233
- readonly ssrc: bigint[];
234
- getCall: () => Promise<void | any>;
235
- getClient: () => Promise<void | any>;
236
- getPeerConnection: () => Promise<void | any>;
237
- refresh: () => Promise<void>;
238
- }>;
239
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
240
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
241
- callId: string;
242
- clientId: string;
243
- peerConnectionId: string;
244
- trackId: string;
245
- direction: "outbound";
246
- readonly kind: "audio" | "video";
247
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
248
- readonly marker: string | undefined;
249
- readonly ssrc: bigint[];
250
- getCall: () => Promise<void | any>;
251
- getClient: () => Promise<void | any>;
252
- getPeerConnection: () => Promise<void | any>;
253
- refresh: () => Promise<void>;
254
- }>;
255
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
256
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
257
- callId: string;
258
- clientId: string;
259
- peerConnectionId: string;
260
- trackId: string;
261
- direction: "outbound";
262
- readonly kind: "audio" | "video";
263
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
264
- readonly marker: string | undefined;
265
- readonly ssrc: bigint[];
266
- getCall: () => Promise<void | any>;
267
- getClient: () => Promise<void | any>;
268
- getPeerConnection: () => Promise<void | any>;
269
- refresh: () => Promise<void>;
270
- }>;
271
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
272
- getOutboundTrack(outboundTrackId: string): Promise<void | {
273
- callId: string;
274
- clientId: string;
275
- peerConnectionId: string;
276
- trackId: string;
277
- direction: "outbound";
278
- readonly kind: "audio" | "video";
279
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
280
- readonly marker: string | undefined;
281
- readonly ssrc: bigint[];
282
- getCall: () => Promise<void | any>;
283
- getClient: () => Promise<void | any>;
284
- getPeerConnection: () => Promise<void | any>;
285
- refresh: () => Promise<void>;
286
- }>;
287
- refresh(): Promise<void>;
288
- }>;
289
- refresh: () => Promise<void>;
290
- }>;
291
- readonly clients: AsyncIterableIterator<void | {
292
- clientId: string;
293
- roomId: string;
294
- serviceId: string;
295
- mediaUnitId: string;
296
- callId: string;
297
- joined: bigint | undefined;
298
- timeZoneId: string | undefined;
299
- readonly browser: import("./models/samples_pb").Samples_ClientSample_Browser | undefined;
300
- readonly engine: import("./models/samples_pb").Samples_ClientSample_Engine | undefined;
301
- readonly operationSystem: import("./models/samples_pb").Samples_ClientSample_OperationSystem | undefined;
302
- readonly platform: import("./models/samples_pb").Samples_ClientSample_Platform | undefined;
303
- readonly peerConnectionIds: readonly string[];
304
- readonly marker: string | undefined;
305
- readonly coordinates: {
306
- latitude: number;
307
- longitude: number;
308
- } | undefined;
309
- getCall: () => Promise<void | any>;
310
- readonly peerConnections: AsyncIterableIterator<void | {
311
- callId: string;
312
- clientId: string;
313
- peerConnectionId: string;
314
- marker: string | undefined;
315
- label: string | undefined;
316
- mediaUnitId: string | undefined;
317
- opened: bigint | undefined;
318
- serviceId: string | undefined;
319
- roomId: string | undefined;
320
- userId: string | undefined;
321
- getClient: () => Promise<void | any>;
322
- getCall: () => Promise<void | any>;
323
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
324
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
325
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
326
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
327
- readonly inboundTrackIds: readonly string[];
328
- readonly outboundTrackIds: readonly string[];
329
- readonly inboundTracks: AsyncIterableIterator<void | any>;
330
- readonly outboundTracks: AsyncIterableIterator<void | {
331
- callId: string;
332
- clientId: string;
333
- peerConnectionId: string;
334
- trackId: string;
335
- direction: "outbound";
336
- readonly kind: "audio" | "video";
337
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
338
- readonly marker: string | undefined;
339
- readonly ssrc: bigint[];
340
- getCall: () => Promise<void | any>;
341
- getClient: () => Promise<void | any>;
342
- getPeerConnection: () => Promise<void | any>;
343
- refresh: () => Promise<void>;
344
- }>;
345
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
346
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
347
- callId: string;
348
- clientId: string;
349
- peerConnectionId: string;
350
- trackId: string;
351
- direction: "outbound";
352
- readonly kind: "audio" | "video";
353
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
354
- readonly marker: string | undefined;
355
- readonly ssrc: bigint[];
356
- getCall: () => Promise<void | any>;
357
- getClient: () => Promise<void | any>;
358
- getPeerConnection: () => Promise<void | any>;
359
- refresh: () => Promise<void>;
360
- }>;
361
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
362
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
363
- callId: string;
364
- clientId: string;
365
- peerConnectionId: string;
366
- trackId: string;
367
- direction: "outbound";
368
- readonly kind: "audio" | "video";
369
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
370
- readonly marker: string | undefined;
371
- readonly ssrc: bigint[];
372
- getCall: () => Promise<void | any>;
373
- getClient: () => Promise<void | any>;
374
- getPeerConnection: () => Promise<void | any>;
375
- refresh: () => Promise<void>;
376
- }>;
377
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
378
- getOutboundTrack(outboundTrackId: string): Promise<void | {
379
- callId: string;
380
- clientId: string;
381
- peerConnectionId: string;
382
- trackId: string;
383
- direction: "outbound";
384
- readonly kind: "audio" | "video";
385
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
386
- readonly marker: string | undefined;
387
- readonly ssrc: bigint[];
388
- getCall: () => Promise<void | any>;
389
- getClient: () => Promise<void | any>;
390
- getPeerConnection: () => Promise<void | any>;
391
- refresh: () => Promise<void>;
392
- }>;
393
- refresh(): Promise<void>;
394
- }>;
395
- getPeerConnection: (peerConnectionId: string) => Promise<void | {
396
- callId: string;
397
- clientId: string;
398
- peerConnectionId: string;
399
- marker: string | undefined;
400
- label: string | undefined;
401
- mediaUnitId: string | undefined;
402
- opened: bigint | undefined;
403
- serviceId: string | undefined;
404
- roomId: string | undefined;
405
- userId: string | undefined;
406
- getClient: () => Promise<void | any>;
407
- getCall: () => Promise<void | any>;
408
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
409
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
410
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
411
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
412
- readonly inboundTrackIds: readonly string[];
413
- readonly outboundTrackIds: readonly string[];
414
- readonly inboundTracks: AsyncIterableIterator<void | any>;
415
- readonly outboundTracks: AsyncIterableIterator<void | {
416
- callId: string;
417
- clientId: string;
418
- peerConnectionId: string;
419
- trackId: string;
420
- direction: "outbound";
421
- readonly kind: "audio" | "video";
422
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
423
- readonly marker: string | undefined;
424
- readonly ssrc: bigint[];
425
- getCall: () => Promise<void | any>;
426
- getClient: () => Promise<void | any>;
427
- getPeerConnection: () => Promise<void | any>;
428
- refresh: () => Promise<void>;
429
- }>;
430
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
431
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
432
- callId: string;
433
- clientId: string;
434
- peerConnectionId: string;
435
- trackId: string;
436
- direction: "outbound";
437
- readonly kind: "audio" | "video";
438
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
439
- readonly marker: string | undefined;
440
- readonly ssrc: bigint[];
441
- getCall: () => Promise<void | any>;
442
- getClient: () => Promise<void | any>;
443
- getPeerConnection: () => Promise<void | any>;
444
- refresh: () => Promise<void>;
445
- }>;
446
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
447
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
448
- callId: string;
449
- clientId: string;
450
- peerConnectionId: string;
451
- trackId: string;
452
- direction: "outbound";
453
- readonly kind: "audio" | "video";
454
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
455
- readonly marker: string | undefined;
456
- readonly ssrc: bigint[];
457
- getCall: () => Promise<void | any>;
458
- getClient: () => Promise<void | any>;
459
- getPeerConnection: () => Promise<void | any>;
460
- refresh: () => Promise<void>;
461
- }>;
462
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
463
- getOutboundTrack(outboundTrackId: string): Promise<void | {
464
- callId: string;
465
- clientId: string;
466
- peerConnectionId: string;
467
- trackId: string;
468
- direction: "outbound";
469
- readonly kind: "audio" | "video";
470
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
471
- readonly marker: string | undefined;
472
- readonly ssrc: bigint[];
473
- getCall: () => Promise<void | any>;
474
- getClient: () => Promise<void | any>;
475
- getPeerConnection: () => Promise<void | any>;
476
- refresh: () => Promise<void>;
477
- }>;
478
- refresh(): Promise<void>;
479
- }>;
480
- refresh: () => Promise<void>;
481
- }>;
482
- refresh: () => Promise<void>;
483
- }>;
484
- getClient: () => Promise<void | {
485
- clientId: string;
486
- roomId: string;
487
- serviceId: string;
488
- mediaUnitId: string;
489
- callId: string;
490
- joined: bigint | undefined;
491
- timeZoneId: string | undefined;
492
- readonly browser: import("./models/samples_pb").Samples_ClientSample_Browser | undefined;
493
- readonly engine: import("./models/samples_pb").Samples_ClientSample_Engine | undefined;
494
- readonly operationSystem: import("./models/samples_pb").Samples_ClientSample_OperationSystem | undefined;
495
- readonly platform: import("./models/samples_pb").Samples_ClientSample_Platform | undefined;
496
- readonly peerConnectionIds: readonly string[];
497
- readonly marker: string | undefined;
498
- readonly coordinates: {
499
- latitude: number;
500
- longitude: number;
501
- } | undefined;
502
- getCall: () => Promise<void | any>;
503
- readonly peerConnections: AsyncIterableIterator<void | {
504
- callId: string;
505
- clientId: string;
506
- peerConnectionId: string;
507
- marker: string | undefined;
508
- label: string | undefined;
509
- mediaUnitId: string | undefined;
510
- opened: bigint | undefined;
511
- serviceId: string | undefined;
512
- roomId: string | undefined;
513
- userId: string | undefined;
514
- getClient: () => Promise<void | any>;
515
- getCall: () => Promise<void | any>;
516
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
517
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
518
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
519
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
520
- readonly inboundTrackIds: readonly string[];
521
- readonly outboundTrackIds: readonly string[];
522
- readonly inboundTracks: AsyncIterableIterator<void | any>;
523
- readonly outboundTracks: AsyncIterableIterator<void | {
524
- callId: string;
525
- clientId: string;
526
- peerConnectionId: string;
527
- trackId: string;
528
- direction: "outbound";
529
- readonly kind: "audio" | "video";
530
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
531
- readonly marker: string | undefined;
532
- readonly ssrc: bigint[];
533
- getCall: () => Promise<void | any>;
534
- getClient: () => Promise<void | any>;
535
- getPeerConnection: () => Promise<void | any>;
536
- refresh: () => Promise<void>;
537
- }>;
538
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
539
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
540
- callId: string;
541
- clientId: string;
542
- peerConnectionId: string;
543
- trackId: string;
544
- direction: "outbound";
545
- readonly kind: "audio" | "video";
546
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
547
- readonly marker: string | undefined;
548
- readonly ssrc: bigint[];
549
- getCall: () => Promise<void | any>;
550
- getClient: () => Promise<void | any>;
551
- getPeerConnection: () => Promise<void | any>;
552
- refresh: () => Promise<void>;
553
- }>;
554
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
555
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
556
- callId: string;
557
- clientId: string;
558
- peerConnectionId: string;
559
- trackId: string;
560
- direction: "outbound";
561
- readonly kind: "audio" | "video";
562
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
563
- readonly marker: string | undefined;
564
- readonly ssrc: bigint[];
565
- getCall: () => Promise<void | any>;
566
- getClient: () => Promise<void | any>;
567
- getPeerConnection: () => Promise<void | any>;
568
- refresh: () => Promise<void>;
569
- }>;
570
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
571
- getOutboundTrack(outboundTrackId: string): Promise<void | {
572
- callId: string;
573
- clientId: string;
574
- peerConnectionId: string;
575
- trackId: string;
576
- direction: "outbound";
577
- readonly kind: "audio" | "video";
578
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
579
- readonly marker: string | undefined;
580
- readonly ssrc: bigint[];
581
- getCall: () => Promise<void | any>;
582
- getClient: () => Promise<void | any>;
583
- getPeerConnection: () => Promise<void | any>;
584
- refresh: () => Promise<void>;
585
- }>;
586
- refresh(): Promise<void>;
587
- }>;
588
- getPeerConnection: (peerConnectionId: string) => Promise<void | {
589
- callId: string;
590
- clientId: string;
591
- peerConnectionId: string;
592
- marker: string | undefined;
593
- label: string | undefined;
594
- mediaUnitId: string | undefined;
595
- opened: bigint | undefined;
596
- serviceId: string | undefined;
597
- roomId: string | undefined;
598
- userId: string | undefined;
599
- getClient: () => Promise<void | any>;
600
- getCall: () => Promise<void | any>;
601
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
602
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
603
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
604
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
605
- readonly inboundTrackIds: readonly string[];
606
- readonly outboundTrackIds: readonly string[];
607
- readonly inboundTracks: AsyncIterableIterator<void | any>;
608
- readonly outboundTracks: AsyncIterableIterator<void | {
609
- callId: string;
610
- clientId: string;
611
- peerConnectionId: string;
612
- trackId: string;
613
- direction: "outbound";
614
- readonly kind: "audio" | "video";
615
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
616
- readonly marker: string | undefined;
617
- readonly ssrc: bigint[];
618
- getCall: () => Promise<void | any>;
619
- getClient: () => Promise<void | any>;
620
- getPeerConnection: () => Promise<void | any>;
621
- refresh: () => Promise<void>;
622
- }>;
623
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
624
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
625
- callId: string;
626
- clientId: string;
627
- peerConnectionId: string;
628
- trackId: string;
629
- direction: "outbound";
630
- readonly kind: "audio" | "video";
631
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
632
- readonly marker: string | undefined;
633
- readonly ssrc: bigint[];
634
- getCall: () => Promise<void | any>;
635
- getClient: () => Promise<void | any>;
636
- getPeerConnection: () => Promise<void | any>;
637
- refresh: () => Promise<void>;
638
- }>;
639
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
640
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
641
- callId: string;
642
- clientId: string;
643
- peerConnectionId: string;
644
- trackId: string;
645
- direction: "outbound";
646
- readonly kind: "audio" | "video";
647
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
648
- readonly marker: string | undefined;
649
- readonly ssrc: bigint[];
650
- getCall: () => Promise<void | any>;
651
- getClient: () => Promise<void | any>;
652
- getPeerConnection: () => Promise<void | any>;
653
- refresh: () => Promise<void>;
654
- }>;
655
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
656
- getOutboundTrack(outboundTrackId: string): Promise<void | {
657
- callId: string;
658
- clientId: string;
659
- peerConnectionId: string;
660
- trackId: string;
661
- direction: "outbound";
662
- readonly kind: "audio" | "video";
663
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
664
- readonly marker: string | undefined;
665
- readonly ssrc: bigint[];
666
- getCall: () => Promise<void | any>;
667
- getClient: () => Promise<void | any>;
668
- getPeerConnection: () => Promise<void | any>;
669
- refresh: () => Promise<void>;
670
- }>;
671
- refresh(): Promise<void>;
672
- }>;
673
- refresh: () => Promise<void>;
674
- }>;
675
- getPeerConnection: () => Promise<void | {
676
- callId: string;
677
- clientId: string;
678
- peerConnectionId: string;
679
- marker: string | undefined;
680
- label: string | undefined;
681
- mediaUnitId: string | undefined;
682
- opened: bigint | undefined;
683
- serviceId: string | undefined;
684
- roomId: string | undefined;
685
- userId: string | undefined;
686
- getClient: () => Promise<void | any>;
687
- getCall: () => Promise<void | any>;
688
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
689
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
690
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
691
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
692
- readonly inboundTrackIds: readonly string[];
693
- readonly outboundTrackIds: readonly string[];
694
- readonly inboundTracks: AsyncIterableIterator<void | any>;
695
- readonly outboundTracks: AsyncIterableIterator<void | {
696
- callId: string;
697
- clientId: string;
698
- peerConnectionId: string;
699
- trackId: string;
700
- direction: "outbound";
701
- readonly kind: "audio" | "video";
702
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
703
- readonly marker: string | undefined;
704
- readonly ssrc: bigint[];
705
- getCall: () => Promise<void | any>;
706
- getClient: () => Promise<void | any>;
707
- getPeerConnection: () => Promise<void | any>;
708
- refresh: () => Promise<void>;
709
- }>;
710
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
711
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
712
- callId: string;
713
- clientId: string;
714
- peerConnectionId: string;
715
- trackId: string;
716
- direction: "outbound";
717
- readonly kind: "audio" | "video";
718
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
719
- readonly marker: string | undefined;
720
- readonly ssrc: bigint[];
721
- getCall: () => Promise<void | any>;
722
- getClient: () => Promise<void | any>;
723
- getPeerConnection: () => Promise<void | any>;
724
- refresh: () => Promise<void>;
725
- }>;
726
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
727
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
728
- callId: string;
729
- clientId: string;
730
- peerConnectionId: string;
731
- trackId: string;
732
- direction: "outbound";
733
- readonly kind: "audio" | "video";
734
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
735
- readonly marker: string | undefined;
736
- readonly ssrc: bigint[];
737
- getCall: () => Promise<void | any>;
738
- getClient: () => Promise<void | any>;
739
- getPeerConnection: () => Promise<void | any>;
740
- refresh: () => Promise<void>;
741
- }>;
742
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
743
- getOutboundTrack(outboundTrackId: string): Promise<void | {
744
- callId: string;
745
- clientId: string;
746
- peerConnectionId: string;
747
- trackId: string;
748
- direction: "outbound";
749
- readonly kind: "audio" | "video";
750
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
751
- readonly marker: string | undefined;
752
- readonly ssrc: bigint[];
753
- getCall: () => Promise<void | any>;
754
- getClient: () => Promise<void | any>;
755
- getPeerConnection: () => Promise<void | any>;
756
- refresh: () => Promise<void>;
757
- }>;
758
- refresh(): Promise<void>;
759
- }>;
760
- refresh(): Promise<void>;
761
- } | {
762
- callId: string;
763
- clientId: string;
764
- peerConnectionId: string;
765
- trackId: string;
766
- direction: "outbound";
767
- readonly kind: "audio" | "video";
768
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
769
- readonly marker: string | undefined;
770
- readonly ssrc: bigint[];
771
- getCall: () => Promise<void | any>;
772
- getClient: () => Promise<void | any>;
773
- getPeerConnection: () => Promise<void | any>;
774
- refresh: () => Promise<void>;
775
- }>;
776
- getAllTracks(trackIds: Iterable<string>): Promise<Map<string, void | {
777
- callId: string;
778
- clientId: string;
779
- peerConnectionId: string;
780
- trackId: string;
781
- direction: "inbound";
782
- readonly kind: "audio" | "video";
783
- readonly stats: import("./models/samples_pb").Samples_ClientSample_InboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_InboundVideoTrack[] | undefined;
784
- readonly marker: string | undefined;
785
- readonly ssrc: bigint[];
786
- getCall: () => Promise<void | {
787
- callId: string;
788
- roomId: string;
789
- serviceId: string;
790
- started: bigint;
791
- readonly clientIds: readonly string[];
792
- getClient: (clientId: string) => Promise<void | {
793
- clientId: string;
794
- roomId: string;
795
- serviceId: string;
796
- mediaUnitId: string;
797
- callId: string;
798
- joined: bigint | undefined;
799
- timeZoneId: string | undefined;
800
- readonly browser: import("./models/samples_pb").Samples_ClientSample_Browser | undefined;
801
- readonly engine: import("./models/samples_pb").Samples_ClientSample_Engine | undefined;
802
- readonly operationSystem: import("./models/samples_pb").Samples_ClientSample_OperationSystem | undefined;
803
- readonly platform: import("./models/samples_pb").Samples_ClientSample_Platform | undefined;
804
- readonly peerConnectionIds: readonly string[];
805
- readonly marker: string | undefined;
806
- readonly coordinates: {
807
- latitude: number;
808
- longitude: number;
809
- } | undefined;
810
- getCall: () => Promise<void | any>;
811
- readonly peerConnections: AsyncIterableIterator<void | {
812
- callId: string;
813
- clientId: string;
814
- peerConnectionId: string;
815
- marker: string | undefined;
816
- label: string | undefined;
817
- mediaUnitId: string | undefined;
818
- opened: bigint | undefined;
819
- serviceId: string | undefined;
820
- roomId: string | undefined;
821
- userId: string | undefined;
822
- getClient: () => Promise<void | any>;
823
- getCall: () => Promise<void | any>;
824
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
825
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
826
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
827
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
828
- readonly inboundTrackIds: readonly string[];
829
- readonly outboundTrackIds: readonly string[];
830
- readonly inboundTracks: AsyncIterableIterator<void | any>;
831
- readonly outboundTracks: AsyncIterableIterator<void | {
832
- callId: string;
833
- clientId: string;
834
- peerConnectionId: string;
835
- trackId: string;
836
- direction: "outbound";
837
- readonly kind: "audio" | "video";
838
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
839
- readonly marker: string | undefined;
840
- readonly ssrc: bigint[];
841
- getCall: () => Promise<void | any>;
842
- getClient: () => Promise<void | any>;
843
- getPeerConnection: () => Promise<void | any>;
844
- refresh: () => Promise<void>;
845
- }>;
846
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
847
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
848
- callId: string;
849
- clientId: string;
850
- peerConnectionId: string;
851
- trackId: string;
852
- direction: "outbound";
853
- readonly kind: "audio" | "video";
854
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
855
- readonly marker: string | undefined;
856
- readonly ssrc: bigint[];
857
- getCall: () => Promise<void | any>;
858
- getClient: () => Promise<void | any>;
859
- getPeerConnection: () => Promise<void | any>;
860
- refresh: () => Promise<void>;
861
- }>;
862
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
863
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
864
- callId: string;
865
- clientId: string;
866
- peerConnectionId: string;
867
- trackId: string;
868
- direction: "outbound";
869
- readonly kind: "audio" | "video";
870
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
871
- readonly marker: string | undefined;
872
- readonly ssrc: bigint[];
873
- getCall: () => Promise<void | any>;
874
- getClient: () => Promise<void | any>;
875
- getPeerConnection: () => Promise<void | any>;
876
- refresh: () => Promise<void>;
877
- }>;
878
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
879
- getOutboundTrack(outboundTrackId: string): Promise<void | {
880
- callId: string;
881
- clientId: string;
882
- peerConnectionId: string;
883
- trackId: string;
884
- direction: "outbound";
885
- readonly kind: "audio" | "video";
886
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
887
- readonly marker: string | undefined;
888
- readonly ssrc: bigint[];
889
- getCall: () => Promise<void | any>;
890
- getClient: () => Promise<void | any>;
891
- getPeerConnection: () => Promise<void | any>;
892
- refresh: () => Promise<void>;
893
- }>;
894
- refresh(): Promise<void>;
895
- }>;
896
- getPeerConnection: (peerConnectionId: string) => Promise<void | {
897
- callId: string;
898
- clientId: string;
899
- peerConnectionId: string;
900
- marker: string | undefined;
901
- label: string | undefined;
902
- mediaUnitId: string | undefined;
903
- opened: bigint | undefined;
904
- serviceId: string | undefined;
905
- roomId: string | undefined;
906
- userId: string | undefined;
907
- getClient: () => Promise<void | any>;
908
- getCall: () => Promise<void | any>;
909
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
910
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
911
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
912
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
913
- readonly inboundTrackIds: readonly string[];
914
- readonly outboundTrackIds: readonly string[];
915
- readonly inboundTracks: AsyncIterableIterator<void | any>;
916
- readonly outboundTracks: AsyncIterableIterator<void | {
917
- callId: string;
918
- clientId: string;
919
- peerConnectionId: string;
920
- trackId: string;
921
- direction: "outbound";
922
- readonly kind: "audio" | "video";
923
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
924
- readonly marker: string | undefined;
925
- readonly ssrc: bigint[];
926
- getCall: () => Promise<void | any>;
927
- getClient: () => Promise<void | any>;
928
- getPeerConnection: () => Promise<void | any>;
929
- refresh: () => Promise<void>;
930
- }>;
931
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
932
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
933
- callId: string;
934
- clientId: string;
935
- peerConnectionId: string;
936
- trackId: string;
937
- direction: "outbound";
938
- readonly kind: "audio" | "video";
939
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
940
- readonly marker: string | undefined;
941
- readonly ssrc: bigint[];
942
- getCall: () => Promise<void | any>;
943
- getClient: () => Promise<void | any>;
944
- getPeerConnection: () => Promise<void | any>;
945
- refresh: () => Promise<void>;
946
- }>;
947
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
948
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
949
- callId: string;
950
- clientId: string;
951
- peerConnectionId: string;
952
- trackId: string;
953
- direction: "outbound";
954
- readonly kind: "audio" | "video";
955
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
956
- readonly marker: string | undefined;
957
- readonly ssrc: bigint[];
958
- getCall: () => Promise<void | any>;
959
- getClient: () => Promise<void | any>;
960
- getPeerConnection: () => Promise<void | any>;
961
- refresh: () => Promise<void>;
962
- }>;
963
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
964
- getOutboundTrack(outboundTrackId: string): Promise<void | {
965
- callId: string;
966
- clientId: string;
967
- peerConnectionId: string;
968
- trackId: string;
969
- direction: "outbound";
970
- readonly kind: "audio" | "video";
971
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
972
- readonly marker: string | undefined;
973
- readonly ssrc: bigint[];
974
- getCall: () => Promise<void | any>;
975
- getClient: () => Promise<void | any>;
976
- getPeerConnection: () => Promise<void | any>;
977
- refresh: () => Promise<void>;
978
- }>;
979
- refresh(): Promise<void>;
980
- }>;
981
- refresh: () => Promise<void>;
982
- }>;
983
- readonly clients: AsyncIterableIterator<void | {
984
- clientId: string;
985
- roomId: string;
986
- serviceId: string;
987
- mediaUnitId: string;
988
- callId: string;
989
- joined: bigint | undefined;
990
- timeZoneId: string | undefined;
991
- readonly browser: import("./models/samples_pb").Samples_ClientSample_Browser | undefined;
992
- readonly engine: import("./models/samples_pb").Samples_ClientSample_Engine | undefined;
993
- readonly operationSystem: import("./models/samples_pb").Samples_ClientSample_OperationSystem | undefined;
994
- readonly platform: import("./models/samples_pb").Samples_ClientSample_Platform | undefined;
995
- readonly peerConnectionIds: readonly string[];
996
- readonly marker: string | undefined;
997
- readonly coordinates: {
998
- latitude: number;
999
- longitude: number;
1000
- } | undefined;
1001
- getCall: () => Promise<void | any>;
1002
- readonly peerConnections: AsyncIterableIterator<void | {
1003
- callId: string;
1004
- clientId: string;
1005
- peerConnectionId: string;
1006
- marker: string | undefined;
1007
- label: string | undefined;
1008
- mediaUnitId: string | undefined;
1009
- opened: bigint | undefined;
1010
- serviceId: string | undefined;
1011
- roomId: string | undefined;
1012
- userId: string | undefined;
1013
- getClient: () => Promise<void | any>;
1014
- getCall: () => Promise<void | any>;
1015
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
1016
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
1017
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
1018
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
1019
- readonly inboundTrackIds: readonly string[];
1020
- readonly outboundTrackIds: readonly string[];
1021
- readonly inboundTracks: AsyncIterableIterator<void | any>;
1022
- readonly outboundTracks: AsyncIterableIterator<void | {
1023
- callId: string;
1024
- clientId: string;
1025
- peerConnectionId: string;
1026
- trackId: string;
1027
- direction: "outbound";
1028
- readonly kind: "audio" | "video";
1029
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1030
- readonly marker: string | undefined;
1031
- readonly ssrc: bigint[];
1032
- getCall: () => Promise<void | any>;
1033
- getClient: () => Promise<void | any>;
1034
- getPeerConnection: () => Promise<void | any>;
1035
- refresh: () => Promise<void>;
1036
- }>;
1037
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
1038
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
1039
- callId: string;
1040
- clientId: string;
1041
- peerConnectionId: string;
1042
- trackId: string;
1043
- direction: "outbound";
1044
- readonly kind: "audio" | "video";
1045
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1046
- readonly marker: string | undefined;
1047
- readonly ssrc: bigint[];
1048
- getCall: () => Promise<void | any>;
1049
- getClient: () => Promise<void | any>;
1050
- getPeerConnection: () => Promise<void | any>;
1051
- refresh: () => Promise<void>;
1052
- }>;
1053
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
1054
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
1055
- callId: string;
1056
- clientId: string;
1057
- peerConnectionId: string;
1058
- trackId: string;
1059
- direction: "outbound";
1060
- readonly kind: "audio" | "video";
1061
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1062
- readonly marker: string | undefined;
1063
- readonly ssrc: bigint[];
1064
- getCall: () => Promise<void | any>;
1065
- getClient: () => Promise<void | any>;
1066
- getPeerConnection: () => Promise<void | any>;
1067
- refresh: () => Promise<void>;
1068
- }>;
1069
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
1070
- getOutboundTrack(outboundTrackId: string): Promise<void | {
1071
- callId: string;
1072
- clientId: string;
1073
- peerConnectionId: string;
1074
- trackId: string;
1075
- direction: "outbound";
1076
- readonly kind: "audio" | "video";
1077
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1078
- readonly marker: string | undefined;
1079
- readonly ssrc: bigint[];
1080
- getCall: () => Promise<void | any>;
1081
- getClient: () => Promise<void | any>;
1082
- getPeerConnection: () => Promise<void | any>;
1083
- refresh: () => Promise<void>;
1084
- }>;
1085
- refresh(): Promise<void>;
1086
- }>;
1087
- getPeerConnection: (peerConnectionId: string) => Promise<void | {
1088
- callId: string;
1089
- clientId: string;
1090
- peerConnectionId: string;
1091
- marker: string | undefined;
1092
- label: string | undefined;
1093
- mediaUnitId: string | undefined;
1094
- opened: bigint | undefined;
1095
- serviceId: string | undefined;
1096
- roomId: string | undefined;
1097
- userId: string | undefined;
1098
- getClient: () => Promise<void | any>;
1099
- getCall: () => Promise<void | any>;
1100
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
1101
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
1102
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
1103
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
1104
- readonly inboundTrackIds: readonly string[];
1105
- readonly outboundTrackIds: readonly string[];
1106
- readonly inboundTracks: AsyncIterableIterator<void | any>;
1107
- readonly outboundTracks: AsyncIterableIterator<void | {
1108
- callId: string;
1109
- clientId: string;
1110
- peerConnectionId: string;
1111
- trackId: string;
1112
- direction: "outbound";
1113
- readonly kind: "audio" | "video";
1114
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1115
- readonly marker: string | undefined;
1116
- readonly ssrc: bigint[];
1117
- getCall: () => Promise<void | any>;
1118
- getClient: () => Promise<void | any>;
1119
- getPeerConnection: () => Promise<void | any>;
1120
- refresh: () => Promise<void>;
1121
- }>;
1122
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
1123
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
1124
- callId: string;
1125
- clientId: string;
1126
- peerConnectionId: string;
1127
- trackId: string;
1128
- direction: "outbound";
1129
- readonly kind: "audio" | "video";
1130
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1131
- readonly marker: string | undefined;
1132
- readonly ssrc: bigint[];
1133
- getCall: () => Promise<void | any>;
1134
- getClient: () => Promise<void | any>;
1135
- getPeerConnection: () => Promise<void | any>;
1136
- refresh: () => Promise<void>;
1137
- }>;
1138
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
1139
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
1140
- callId: string;
1141
- clientId: string;
1142
- peerConnectionId: string;
1143
- trackId: string;
1144
- direction: "outbound";
1145
- readonly kind: "audio" | "video";
1146
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1147
- readonly marker: string | undefined;
1148
- readonly ssrc: bigint[];
1149
- getCall: () => Promise<void | any>;
1150
- getClient: () => Promise<void | any>;
1151
- getPeerConnection: () => Promise<void | any>;
1152
- refresh: () => Promise<void>;
1153
- }>;
1154
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
1155
- getOutboundTrack(outboundTrackId: string): Promise<void | {
1156
- callId: string;
1157
- clientId: string;
1158
- peerConnectionId: string;
1159
- trackId: string;
1160
- direction: "outbound";
1161
- readonly kind: "audio" | "video";
1162
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1163
- readonly marker: string | undefined;
1164
- readonly ssrc: bigint[];
1165
- getCall: () => Promise<void | any>;
1166
- getClient: () => Promise<void | any>;
1167
- getPeerConnection: () => Promise<void | any>;
1168
- refresh: () => Promise<void>;
1169
- }>;
1170
- refresh(): Promise<void>;
1171
- }>;
1172
- refresh: () => Promise<void>;
1173
- }>;
1174
- refresh: () => Promise<void>;
1175
- }>;
1176
- getClient: () => Promise<void | {
1177
- clientId: string;
1178
- roomId: string;
1179
- serviceId: string;
1180
- mediaUnitId: string;
1181
- callId: string;
1182
- joined: bigint | undefined;
1183
- timeZoneId: string | undefined;
1184
- readonly browser: import("./models/samples_pb").Samples_ClientSample_Browser | undefined;
1185
- readonly engine: import("./models/samples_pb").Samples_ClientSample_Engine | undefined;
1186
- readonly operationSystem: import("./models/samples_pb").Samples_ClientSample_OperationSystem | undefined;
1187
- readonly platform: import("./models/samples_pb").Samples_ClientSample_Platform | undefined;
1188
- readonly peerConnectionIds: readonly string[];
1189
- readonly marker: string | undefined;
1190
- readonly coordinates: {
1191
- latitude: number;
1192
- longitude: number;
1193
- } | undefined;
1194
- getCall: () => Promise<void | any>;
1195
- readonly peerConnections: AsyncIterableIterator<void | {
1196
- callId: string;
1197
- clientId: string;
1198
- peerConnectionId: string;
1199
- marker: string | undefined;
1200
- label: string | undefined;
1201
- mediaUnitId: string | undefined;
1202
- opened: bigint | undefined;
1203
- serviceId: string | undefined;
1204
- roomId: string | undefined;
1205
- userId: string | undefined;
1206
- getClient: () => Promise<void | any>;
1207
- getCall: () => Promise<void | any>;
1208
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
1209
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
1210
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
1211
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
1212
- readonly inboundTrackIds: readonly string[];
1213
- readonly outboundTrackIds: readonly string[];
1214
- readonly inboundTracks: AsyncIterableIterator<void | any>;
1215
- readonly outboundTracks: AsyncIterableIterator<void | {
1216
- callId: string;
1217
- clientId: string;
1218
- peerConnectionId: string;
1219
- trackId: string;
1220
- direction: "outbound";
1221
- readonly kind: "audio" | "video";
1222
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1223
- readonly marker: string | undefined;
1224
- readonly ssrc: bigint[];
1225
- getCall: () => Promise<void | any>;
1226
- getClient: () => Promise<void | any>;
1227
- getPeerConnection: () => Promise<void | any>;
1228
- refresh: () => Promise<void>;
1229
- }>;
1230
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
1231
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
1232
- callId: string;
1233
- clientId: string;
1234
- peerConnectionId: string;
1235
- trackId: string;
1236
- direction: "outbound";
1237
- readonly kind: "audio" | "video";
1238
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1239
- readonly marker: string | undefined;
1240
- readonly ssrc: bigint[];
1241
- getCall: () => Promise<void | any>;
1242
- getClient: () => Promise<void | any>;
1243
- getPeerConnection: () => Promise<void | any>;
1244
- refresh: () => Promise<void>;
1245
- }>;
1246
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
1247
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
1248
- callId: string;
1249
- clientId: string;
1250
- peerConnectionId: string;
1251
- trackId: string;
1252
- direction: "outbound";
1253
- readonly kind: "audio" | "video";
1254
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1255
- readonly marker: string | undefined;
1256
- readonly ssrc: bigint[];
1257
- getCall: () => Promise<void | any>;
1258
- getClient: () => Promise<void | any>;
1259
- getPeerConnection: () => Promise<void | any>;
1260
- refresh: () => Promise<void>;
1261
- }>;
1262
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
1263
- getOutboundTrack(outboundTrackId: string): Promise<void | {
1264
- callId: string;
1265
- clientId: string;
1266
- peerConnectionId: string;
1267
- trackId: string;
1268
- direction: "outbound";
1269
- readonly kind: "audio" | "video";
1270
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1271
- readonly marker: string | undefined;
1272
- readonly ssrc: bigint[];
1273
- getCall: () => Promise<void | any>;
1274
- getClient: () => Promise<void | any>;
1275
- getPeerConnection: () => Promise<void | any>;
1276
- refresh: () => Promise<void>;
1277
- }>;
1278
- refresh(): Promise<void>;
1279
- }>;
1280
- getPeerConnection: (peerConnectionId: string) => Promise<void | {
1281
- callId: string;
1282
- clientId: string;
1283
- peerConnectionId: string;
1284
- marker: string | undefined;
1285
- label: string | undefined;
1286
- mediaUnitId: string | undefined;
1287
- opened: bigint | undefined;
1288
- serviceId: string | undefined;
1289
- roomId: string | undefined;
1290
- userId: string | undefined;
1291
- getClient: () => Promise<void | any>;
1292
- getCall: () => Promise<void | any>;
1293
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
1294
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
1295
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
1296
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
1297
- readonly inboundTrackIds: readonly string[];
1298
- readonly outboundTrackIds: readonly string[];
1299
- readonly inboundTracks: AsyncIterableIterator<void | any>;
1300
- readonly outboundTracks: AsyncIterableIterator<void | {
1301
- callId: string;
1302
- clientId: string;
1303
- peerConnectionId: string;
1304
- trackId: string;
1305
- direction: "outbound";
1306
- readonly kind: "audio" | "video";
1307
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1308
- readonly marker: string | undefined;
1309
- readonly ssrc: bigint[];
1310
- getCall: () => Promise<void | any>;
1311
- getClient: () => Promise<void | any>;
1312
- getPeerConnection: () => Promise<void | any>;
1313
- refresh: () => Promise<void>;
1314
- }>;
1315
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
1316
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
1317
- callId: string;
1318
- clientId: string;
1319
- peerConnectionId: string;
1320
- trackId: string;
1321
- direction: "outbound";
1322
- readonly kind: "audio" | "video";
1323
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1324
- readonly marker: string | undefined;
1325
- readonly ssrc: bigint[];
1326
- getCall: () => Promise<void | any>;
1327
- getClient: () => Promise<void | any>;
1328
- getPeerConnection: () => Promise<void | any>;
1329
- refresh: () => Promise<void>;
1330
- }>;
1331
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
1332
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
1333
- callId: string;
1334
- clientId: string;
1335
- peerConnectionId: string;
1336
- trackId: string;
1337
- direction: "outbound";
1338
- readonly kind: "audio" | "video";
1339
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1340
- readonly marker: string | undefined;
1341
- readonly ssrc: bigint[];
1342
- getCall: () => Promise<void | any>;
1343
- getClient: () => Promise<void | any>;
1344
- getPeerConnection: () => Promise<void | any>;
1345
- refresh: () => Promise<void>;
1346
- }>;
1347
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
1348
- getOutboundTrack(outboundTrackId: string): Promise<void | {
1349
- callId: string;
1350
- clientId: string;
1351
- peerConnectionId: string;
1352
- trackId: string;
1353
- direction: "outbound";
1354
- readonly kind: "audio" | "video";
1355
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1356
- readonly marker: string | undefined;
1357
- readonly ssrc: bigint[];
1358
- getCall: () => Promise<void | any>;
1359
- getClient: () => Promise<void | any>;
1360
- getPeerConnection: () => Promise<void | any>;
1361
- refresh: () => Promise<void>;
1362
- }>;
1363
- refresh(): Promise<void>;
1364
- }>;
1365
- refresh: () => Promise<void>;
1366
- }>;
1367
- getPeerConnection: () => Promise<void | {
1368
- callId: string;
1369
- clientId: string;
1370
- peerConnectionId: string;
1371
- marker: string | undefined;
1372
- label: string | undefined;
1373
- mediaUnitId: string | undefined;
1374
- opened: bigint | undefined;
1375
- serviceId: string | undefined;
1376
- roomId: string | undefined;
1377
- userId: string | undefined;
1378
- getClient: () => Promise<void | any>;
1379
- getCall: () => Promise<void | any>;
1380
- readonly iceCandidatePairs: import("./models/samples_pb").Samples_ClientSample_IceCandidatePair[];
1381
- readonly iceRemoteCandidates: import("./models/samples_pb").Samples_ClientSample_IceRemoteCandidate[];
1382
- readonly iceLocalCandidates: import("./models/samples_pb").Samples_ClientSample_IceLocalCandidate[];
1383
- readonly transports: import("./models/samples_pb").Samples_ClientSample_PeerConnectionTransport[];
1384
- readonly inboundTrackIds: readonly string[];
1385
- readonly outboundTrackIds: readonly string[];
1386
- readonly inboundTracks: AsyncIterableIterator<void | any>;
1387
- readonly outboundTracks: AsyncIterableIterator<void | {
1388
- callId: string;
1389
- clientId: string;
1390
- peerConnectionId: string;
1391
- trackId: string;
1392
- direction: "outbound";
1393
- readonly kind: "audio" | "video";
1394
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1395
- readonly marker: string | undefined;
1396
- readonly ssrc: bigint[];
1397
- getCall: () => Promise<void | any>;
1398
- getClient: () => Promise<void | any>;
1399
- getPeerConnection: () => Promise<void | any>;
1400
- refresh: () => Promise<void>;
1401
- }>;
1402
- readonly inboundAudioTracks: AsyncIterableIterator<void | any>;
1403
- readonly outboundAudioTracks: AsyncIterableIterator<void | {
1404
- callId: string;
1405
- clientId: string;
1406
- peerConnectionId: string;
1407
- trackId: string;
1408
- direction: "outbound";
1409
- readonly kind: "audio" | "video";
1410
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1411
- readonly marker: string | undefined;
1412
- readonly ssrc: bigint[];
1413
- getCall: () => Promise<void | any>;
1414
- getClient: () => Promise<void | any>;
1415
- getPeerConnection: () => Promise<void | any>;
1416
- refresh: () => Promise<void>;
1417
- }>;
1418
- readonly inboundVideoTracks: AsyncIterableIterator<void | any>;
1419
- readonly outboundVideoTracks: AsyncIterableIterator<void | {
1420
- callId: string;
1421
- clientId: string;
1422
- peerConnectionId: string;
1423
- trackId: string;
1424
- direction: "outbound";
1425
- readonly kind: "audio" | "video";
1426
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1427
- readonly marker: string | undefined;
1428
- readonly ssrc: bigint[];
1429
- getCall: () => Promise<void | any>;
1430
- getClient: () => Promise<void | any>;
1431
- getPeerConnection: () => Promise<void | any>;
1432
- refresh: () => Promise<void>;
1433
- }>;
1434
- getInboundTrack(inboundTrackId: string): Promise<void | any>;
1435
- getOutboundTrack(outboundTrackId: string): Promise<void | {
1436
- callId: string;
1437
- clientId: string;
1438
- peerConnectionId: string;
1439
- trackId: string;
1440
- direction: "outbound";
1441
- readonly kind: "audio" | "video";
1442
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1443
- readonly marker: string | undefined;
1444
- readonly ssrc: bigint[];
1445
- getCall: () => Promise<void | any>;
1446
- getClient: () => Promise<void | any>;
1447
- getPeerConnection: () => Promise<void | any>;
1448
- refresh: () => Promise<void>;
1449
- }>;
1450
- refresh(): Promise<void>;
1451
- }>;
1452
- refresh(): Promise<void>;
1453
- } | {
1454
- callId: string;
1455
- clientId: string;
1456
- peerConnectionId: string;
1457
- trackId: string;
1458
- direction: "outbound";
1459
- readonly kind: "audio" | "video";
1460
- readonly stats: import("./models/samples_pb").Samples_ClientSample_OutboundAudioTrack[] | import("./models/samples_pb").Samples_ClientSample_OutboundVideoTrack[] | undefined;
1461
- readonly marker: string | undefined;
1462
- readonly ssrc: bigint[];
1463
- getCall: () => Promise<void | any>;
1464
- getClient: () => Promise<void | any>;
1465
- getPeerConnection: () => Promise<void | any>;
1466
- refresh: () => Promise<void>;
1467
- }>>;
1468
- inboundTracks(): AsyncIterableIterator<InboundTrackEntry>;
1469
- outboundTracks(): AsyncIterableIterator<OutboundTrackEntry>;
1470
- sfuSctpChannels(): AsyncIterableIterator<SfuSctpChannelEntry>;
1471
- getCall(callId: string): Promise<CallEntry>;
1472
- getAllCalls(callIds: Iterable<string>): Promise<ReadonlyMap<string, CallEntry>>;
1473
- getSfu(sfuId: string): Promise<SfuEntry>;
1474
- getAllSfus(sfuIds: Iterable<string>): Promise<ReadonlyMap<string, SfuEntry>>;
1475
- getSfuTransport(sfuTransportId: string): Promise<SfuTransportEntry | undefined>;
1476
- getAllSfuTransports(sfuTransportIds: Iterable<string>): Promise<ReadonlyMap<string, SfuTransportEntry>>;
1477
- getSfuInboundRtpPad(sfuInboundRtpPadId: string): Promise<SfuInboundRtpPadEntry | undefined>;
1478
- getAllSfuInboundRtpPads(sfuInboundRtpPadIds: Iterable<string>): Promise<ReadonlyMap<string, SfuInboundRtpPadEntry>>;
1479
- getSfuOutboundRtpPad(sfuOutboundRtpPadId: string): Promise<SfuOutboundRtpPadEntry | undefined>;
1480
- getAllSfuOutboundRtpPads(sfuOutboundRtpPadIds: Iterable<string>): Promise<ReadonlyMap<string, SfuOutboundRtpPadEntry>>;
1481
- getClient(clientId: string): Promise<ClientEntry>;
1482
- getAllClient(clientIds: Iterable<string>): Promise<ReadonlyMap<string, ClientEntry>>;
1483
- getPeerConnection(peerConnectionId: string): Promise<PeerConnectionEntry>;
1484
- getAllPeerConnections(peerConnectionIds: Iterable<string>): Promise<ReadonlyMap<string, PeerConnectionEntry>>;
1485
- getInboundTrack(inboundTrackId: string): Promise<InboundTrackEntry>;
1486
- getAllInboundTracks(inboundTrackIds: Iterable<string>): Promise<ReadonlyMap<string, InboundTrackEntry>>;
1487
- getOutboundTrack(outboundTrackId: string): Promise<OutboundTrackEntry>;
1488
- getAllOutboundTracks(outboundTrackIds: Iterable<string>): Promise<ReadonlyMap<string, OutboundTrackEntry>>;
1489
- getSfuSctpChannel(sctpChannelId: string): Promise<SfuSctpChannelEntry | undefined>;
1490
- getAllSfuSctpChannel(sctpChannelIds: Iterable<string>): Promise<ReadonlyMap<string, SfuSctpChannelEntry>>;
48
+ constructor(config: ObserverConfig, storage: StorageProvider);
49
+ createObservedCall<T extends Record<string, unknown> = Record<string, unknown>>(config: PartialBy<ObservedCallConfig<T>, 'serviceId' | 'started'>): Promise<ObservedCall<T>>;
50
+ get observedCalls(): ReadonlyMap<string, ObservedCall>;
1491
51
  get closed(): boolean;
1492
52
  close(): void;
53
+ private _emitReports;
1493
54
  }
1494
55
  //# sourceMappingURL=Observer.d.ts.map