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