@relaymessenger/livekit 0.1.0-staging.16 → 0.1.0-staging.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -188
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/livekit.d.ts +5 -7
- package/dist/livekit.d.ts.map +1 -1
- package/dist/livekit.js +15 -20
- package/dist/livekit.js.map +1 -1
- package/package.json +3 -8
- package/dist/engine-werift-video.d.ts +0 -70
- package/dist/engine-werift-video.d.ts.map +0 -1
- package/dist/engine-werift-video.js +0 -594
- package/dist/engine-werift-video.js.map +0 -1
- package/dist/engine-werift.d.ts +0 -48
- package/dist/engine-werift.d.ts.map +0 -1
- package/dist/engine-werift.js +0 -457
- package/dist/engine-werift.js.map +0 -1
- package/dist/transport.d.ts +0 -327
- package/dist/transport.d.ts.map +0 -1
- package/dist/transport.js +0 -1354
- package/dist/transport.js.map +0 -1
- package/dist/video-frame.d.ts +0 -56
- package/dist/video-frame.d.ts.map +0 -1
- package/dist/video-frame.js +0 -245
- package/dist/video-frame.js.map +0 -1
- package/dist/video-rtp.d.ts +0 -51
- package/dist/video-rtp.d.ts.map +0 -1
- package/dist/video-rtp.js +0 -294
- package/dist/video-rtp.js.map +0 -1
- package/dist/video.d.ts +0 -144
- package/dist/video.d.ts.map +0 -1
- package/dist/video.js +0 -228
- package/dist/video.js.map +0 -1
package/dist/transport.d.ts
DELETED
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
import type { CallRoomEndedFrame, CallRoomOptions, CallRoomStateFrame, Relay } from "@relaymessenger/sdk";
|
|
2
|
-
import { type LocalVideoTrack, type RelayVideoReceiverStats, type RelayVideoSenderStats, RemoteVideoTrack, type TrackPublishOptions } from "./video.js";
|
|
3
|
-
export { LocalVideoTrack, RemoteVideoTrack, VideoBufferType, VideoCodec, VideoFrame, VideoRotation, VideoSource, VideoStream, type RelayVideoReceiverStats, type RelayVideoSenderStats, type TrackPublishOptions, type VideoEncoding, type VideoFrameEvent, type VideoStreamOptions, } from "./video.js";
|
|
4
|
-
export interface RelayAudioFrame {
|
|
5
|
-
/** Interleaved signed PCM16 samples. */
|
|
6
|
-
samples: Int16Array;
|
|
7
|
-
sampleRate: number;
|
|
8
|
-
channelCount: number;
|
|
9
|
-
}
|
|
10
|
-
/** Standard `RTCIceServer` shape: STUN or TURN URLs with optional credentials. */
|
|
11
|
-
export interface RelayIceServer {
|
|
12
|
-
urls: string | string[];
|
|
13
|
-
username?: string;
|
|
14
|
-
credential?: string;
|
|
15
|
-
}
|
|
16
|
-
export type RelayIceTransportPolicy = "all" | "relay";
|
|
17
|
-
/**
|
|
18
|
-
* Returns the ICE servers for one peer connection. Called before the first
|
|
19
|
-
* peer and again before every restart, so short-lived TURN credentials can be
|
|
20
|
-
* minted per attempt (PartyTracks: a reconnect "will trigger new sessionId,
|
|
21
|
-
* new ice server credentials and a new peerConnection").
|
|
22
|
-
*/
|
|
23
|
-
export type RelayIceServersProvider = (attempt: {
|
|
24
|
-
/** 0 for the first peer, then 1, 2, ... for each restart. */
|
|
25
|
-
restarts: number;
|
|
26
|
-
}) => RelayIceServer[] | Promise<RelayIceServer[]>;
|
|
27
|
-
/** Why the transport replaced its peer connection with a new SFU session. */
|
|
28
|
-
export type RelayCallRestartReason = "timeout" | "failed" | "disconnected" | "error";
|
|
29
|
-
export interface RelayCallRestartEvent {
|
|
30
|
-
reason: RelayCallRestartReason;
|
|
31
|
-
/** `diagnostics().summary` of the session being replaced, taken as it was given up. */
|
|
32
|
-
summary: string;
|
|
33
|
-
/** Restarts since `connect()`, this one included. */
|
|
34
|
-
restarts: number;
|
|
35
|
-
/** Backoff waited before the new peer was built. */
|
|
36
|
-
delayMs: number;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* PCM format the engine decodes the remote participant's Opus into. The values
|
|
40
|
-
* are the ones libopus decodes to (`@evan/opus` lib.d.ts: `channels?: 1 | 2`,
|
|
41
|
-
* `sample_rate?: 8000 | 12000 | 16000 | 24000 | 48000`); the decoder itself
|
|
42
|
-
* resamples and downmixes, so no PCM is converted by hand.
|
|
43
|
-
*/
|
|
44
|
-
export interface RelayInboundAudioFormat {
|
|
45
|
-
sampleRate: 8000 | 12000 | 16000 | 24000 | 48000;
|
|
46
|
-
channelCount: 1 | 2;
|
|
47
|
-
}
|
|
48
|
-
/** Opus's native rate and Relay's wire channel count. */
|
|
49
|
-
export declare const DEFAULT_INBOUND_AUDIO: Readonly<RelayInboundAudioFormat>;
|
|
50
|
-
/** Counters for both video directions; `undefined` for a direction that has no track. */
|
|
51
|
-
export interface RelayCallVideoStats {
|
|
52
|
-
outbound: RelayVideoSenderStats | undefined;
|
|
53
|
-
inbound: RelayVideoReceiverStats | undefined;
|
|
54
|
-
}
|
|
55
|
-
export type RelayCallEngine = "werift" | "wrtc";
|
|
56
|
-
export interface RelayCallTransportOptions {
|
|
57
|
-
relay: Relay;
|
|
58
|
-
callId: string;
|
|
59
|
-
room?: CallRoomOptions;
|
|
60
|
-
/**
|
|
61
|
-
* WebRTC engine. `"werift"` (default) is pure TypeScript plus prebuilt Opus
|
|
62
|
-
* and loads no native binding. `"wrtc"` loads `@roamhq/wrtc` on demand.
|
|
63
|
-
*/
|
|
64
|
-
engine?: RelayCallEngine;
|
|
65
|
-
/**
|
|
66
|
-
* STUN and TURN servers handed to the engine's `RTCPeerConnection`. Defaults
|
|
67
|
-
* to the servers the Call room sends (its `iceServers` frame: Cloudflare STUN
|
|
68
|
-
* plus TURN credentials Relay mints), read again before every restart; when
|
|
69
|
-
* the room sends none, Cloudflare's STUN server, the configuration of
|
|
70
|
-
* Cloudflare's own Realtime echo example. Set this only to replace Relay's
|
|
71
|
-
* servers. A function is called before every peer connection, restarts
|
|
72
|
-
* included, so it can mint fresh TURN credentials each time.
|
|
73
|
-
*/
|
|
74
|
-
iceServers?: RelayIceServer[] | RelayIceServersProvider;
|
|
75
|
-
/** `"relay"` forces every candidate through TURN. Defaults to `"all"`. */
|
|
76
|
-
iceTransportPolicy?: RelayIceTransportPolicy;
|
|
77
|
-
/**
|
|
78
|
-
* How long one SFU session has, after its answer is applied, to reach
|
|
79
|
-
* `connected` before the transport restarts onto a new session. Defaults to
|
|
80
|
-
* 5 seconds. `connect()` itself has no deadline: it waits through restarts
|
|
81
|
-
* until media connects, the Call ends, `close()` is called, or its signal aborts.
|
|
82
|
-
*/
|
|
83
|
-
sessionConnectTimeoutMs?: number;
|
|
84
|
-
/** @deprecated Use `sessionConnectTimeoutMs`; now the per-session wait, not a `connect()` deadline. */
|
|
85
|
-
mediaConnectTimeoutMs?: number;
|
|
86
|
-
/** @deprecated Use `sessionConnectTimeoutMs`. */
|
|
87
|
-
connectionTimeoutMs?: number;
|
|
88
|
-
/**
|
|
89
|
-
* PCM format of the `audio` events: the Opus decoder decodes the remote
|
|
90
|
-
* track straight to this rate and channel count. Defaults to 48 kHz stereo.
|
|
91
|
-
* The `"wrtc"` engine delivers libwebrtc's own format and accepts only the default.
|
|
92
|
-
*/
|
|
93
|
-
inboundAudio?: RelayInboundAudioFormat;
|
|
94
|
-
/**
|
|
95
|
-
* Called once per call when outbound audio is queued but no RTP packet has
|
|
96
|
-
* been written for 2 s while media is connected. Receives the diagnostics
|
|
97
|
-
* summary. Defaults to a no-op; nothing is restarted.
|
|
98
|
-
*/
|
|
99
|
-
onWarning?: (message: string) => void;
|
|
100
|
-
}
|
|
101
|
-
/** Packet counts for the other participant's track, as seen by this participant. */
|
|
102
|
-
export interface RelayCallInboundDiagnostics {
|
|
103
|
-
/** RTP packets received on the subscribed track. */
|
|
104
|
-
rtpPackets: number;
|
|
105
|
-
/** Opus packets the decoder rejected. */
|
|
106
|
-
decodeFailures: number;
|
|
107
|
-
/** PCM frames handed to the `audio` listeners. */
|
|
108
|
-
frames: number;
|
|
109
|
-
/** ms since `connect()` for the first and last RTP packet; undefined until one arrives. */
|
|
110
|
-
firstPacketAtMs: number | undefined;
|
|
111
|
-
lastPacketAtMs: number | undefined;
|
|
112
|
-
/** RTP packets received in the 5 s before `diagnostics()` was called. */
|
|
113
|
-
recentRtpPackets: number;
|
|
114
|
-
}
|
|
115
|
-
/** Packet counts for this participant's published track. */
|
|
116
|
-
export interface RelayCallOutboundDiagnostics {
|
|
117
|
-
/** PCM slices accepted from the caller and handed to the engine source. */
|
|
118
|
-
frames: number;
|
|
119
|
-
opusPackets: number;
|
|
120
|
-
/** RTP packets carrying the caller's audio. */
|
|
121
|
-
rtpPackets: number;
|
|
122
|
-
/** RTP packets carrying Opus silence, written while nothing was queued. */
|
|
123
|
-
silencePackets: number;
|
|
124
|
-
/** ms since `connect()` for the first and last RTP packet of either kind. */
|
|
125
|
-
firstPacketAtMs: number | undefined;
|
|
126
|
-
lastPacketAtMs: number | undefined;
|
|
127
|
-
/** RTP packets of either kind written in the 5 s before `diagnostics()` was called. */
|
|
128
|
-
recentRtpPackets: number;
|
|
129
|
-
/** Encoded packets waiting for the 20 ms pacer. */
|
|
130
|
-
queued: number;
|
|
131
|
-
/** `undefined` when the engine does not expose its pacer (`wrtc`). */
|
|
132
|
-
pacerAlive: boolean | undefined;
|
|
133
|
-
}
|
|
134
|
-
/** Room signaling frames counted since `connect()`. */
|
|
135
|
-
export interface RelayCallRoomDiagnostics {
|
|
136
|
-
roomStates: number;
|
|
137
|
-
/** Subscription (pull) offers received from the room. */
|
|
138
|
-
offers: number;
|
|
139
|
-
endedReason: string | undefined;
|
|
140
|
-
/** `error` frame messages, in order. */
|
|
141
|
-
errors: string[];
|
|
142
|
-
}
|
|
143
|
-
/** ICE facts recorded for one call, for logs and for the connect timeout error. */
|
|
144
|
-
export interface RelayCallIceDiagnostics {
|
|
145
|
-
/** Local candidates gathered, counted by type. */
|
|
146
|
-
local: {
|
|
147
|
-
host: number;
|
|
148
|
-
srflx: number;
|
|
149
|
-
relay: number;
|
|
150
|
-
other: number;
|
|
151
|
-
};
|
|
152
|
-
/** Remote candidates from the SFU answer: transport and port only, never the address. */
|
|
153
|
-
remote: Array<{
|
|
154
|
-
transport: string;
|
|
155
|
-
port: number;
|
|
156
|
-
}>;
|
|
157
|
-
/** ICE gathering, ICE connection and peer connection state changes since `connect()`. */
|
|
158
|
-
transitions: Array<{
|
|
159
|
-
kind: "gathering" | "ice" | "connection";
|
|
160
|
-
state: string;
|
|
161
|
-
atMs: number;
|
|
162
|
-
}>;
|
|
163
|
-
/**
|
|
164
|
-
* The local side of the candidate pair media flows on, as `"<type> <protocol>"`
|
|
165
|
-
* (for example `"relay udp"`), read from the W3C stats once the peer connects;
|
|
166
|
-
* undefined until then or when the engine has no `getStats()`.
|
|
167
|
-
*/
|
|
168
|
-
selectedPair: string | undefined;
|
|
169
|
-
connected: boolean;
|
|
170
|
-
inbound: RelayCallInboundDiagnostics;
|
|
171
|
-
outbound: RelayCallOutboundDiagnostics;
|
|
172
|
-
room: RelayCallRoomDiagnostics;
|
|
173
|
-
/** Peer connections replaced by a new SFU session since `connect()`. */
|
|
174
|
-
restarts: number;
|
|
175
|
-
/** One-line rendering of the fields above. */
|
|
176
|
-
summary: string;
|
|
177
|
-
}
|
|
178
|
-
export interface RelayCallTransportCloseEvent {
|
|
179
|
-
code: number;
|
|
180
|
-
reason: string;
|
|
181
|
-
wasClean: boolean;
|
|
182
|
-
}
|
|
183
|
-
type TransportEventMap = {
|
|
184
|
-
audio: [RelayAudioFrame];
|
|
185
|
-
connected: [];
|
|
186
|
-
/** A new peer connection published on a new SFU session; audio continues on it. */
|
|
187
|
-
restarted: [RelayCallRestartEvent];
|
|
188
|
-
roomState: [CallRoomStateFrame];
|
|
189
|
-
/** The person's camera started (`true`) or stopped (`false`) sending, from `roomState`. */
|
|
190
|
-
remoteVideo: [boolean];
|
|
191
|
-
/**
|
|
192
|
-
* The person's video track reached this peer (LiveKit `RoomEvent.TrackSubscribed`);
|
|
193
|
-
* read it with `new VideoStream(track)`. Once per call: restarts reuse the track.
|
|
194
|
-
*/
|
|
195
|
-
trackSubscribed: [RemoteVideoTrack];
|
|
196
|
-
/** The call is over; every `VideoStream` of the track has ended. */
|
|
197
|
-
trackUnsubscribed: [RemoteVideoTrack];
|
|
198
|
-
/**
|
|
199
|
-
* Once per call: the person's audio has reached this peer (first inbound
|
|
200
|
-
* frame on the pulled track) and `roomState` shows the person connected. The
|
|
201
|
-
* room pulls both directions together, so from here the person hears what is
|
|
202
|
-
* written; start speaking after this, as LiveKit Agents start a session once
|
|
203
|
-
* the participant is in the room.
|
|
204
|
-
*/
|
|
205
|
-
peerAudio: [];
|
|
206
|
-
ended: [CallRoomEndedFrame];
|
|
207
|
-
error: [Error];
|
|
208
|
-
close: [RelayCallTransportCloseEvent];
|
|
209
|
-
};
|
|
210
|
-
type TransportEvent = keyof TransportEventMap;
|
|
211
|
-
type TransportListener<K extends TransportEvent> = (...args: TransportEventMap[K]) => void;
|
|
212
|
-
/**
|
|
213
|
-
* Restart rule, copied from PartyTracks and Cloudflare (PROTOCOL.md section 4):
|
|
214
|
-
* not `connected` 5 s after the SFU answer (Cloudflare's echo example waits
|
|
215
|
-
* 5000 ms; SFU operations block up to 5 s awaiting `connected`), `failed`, or
|
|
216
|
-
* `disconnected` for 7 s (PartyTracks.ts `timeoutSeconds = 7`). Backoff 250 ms
|
|
217
|
-
* x1.1 per attempt, capped at 10 s (PartyTracks `retryWithBackoff`
|
|
218
|
-
* `backoffFactor: 1.1`, rxjs-helpers.ts defaults). werift never reports
|
|
219
|
-
* `failed` on a session whose checks go unanswered (ice.js:983-986), so the
|
|
220
|
-
* 5 s timer is the trigger that fires in practice.
|
|
221
|
-
*/
|
|
222
|
-
export declare const RESTART_CONNECT_TIMEOUT_MS = 5000;
|
|
223
|
-
export declare const RESTART_DISCONNECTED_MS = 7000;
|
|
224
|
-
export declare const RESTART_INITIAL_DELAY_MS = 250;
|
|
225
|
-
export declare const RESTART_BACKOFF_FACTOR = 1.1;
|
|
226
|
-
export declare const RESTART_MAX_DELAY_MS = 10000;
|
|
227
|
-
/**
|
|
228
|
-
* Backoff before restart number `attempt` (1-based) counted since the last
|
|
229
|
-
* session that connected. PartyTracks passes `resetOnSuccess: true` to rxjs
|
|
230
|
-
* `retry` (rxjs-helpers.ts:18, :39); this transport reads "success" as a
|
|
231
|
-
* session reaching `connected`.
|
|
232
|
-
*/
|
|
233
|
-
export declare const restartDelayMs: (attempt: number) => number;
|
|
234
|
-
export declare class RelayCallTransportError extends Error {
|
|
235
|
-
readonly code?: string;
|
|
236
|
-
constructor(message: string, code?: string);
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* Provider-neutral Node WebRTC bridge for Relay Call rooms.
|
|
240
|
-
*
|
|
241
|
-
* The class owns Relay media negotiation internally. Higher-level adapters only
|
|
242
|
-
* exchange PCM16 frames and call lifecycle events. When an SFU session never
|
|
243
|
-
* connects or dies, the transport builds a new peer connection on a new
|
|
244
|
-
* session (PROTOCOL.md section 4); the audio source and the `audio` events
|
|
245
|
-
* carry on across the swap, so adapters only hear silence.
|
|
246
|
-
*/
|
|
247
|
-
export declare class RelayCallTransport {
|
|
248
|
-
#private;
|
|
249
|
-
constructor(options: RelayCallTransportOptions);
|
|
250
|
-
on<K extends TransportEvent>(event: K, listener: TransportListener<K>): this;
|
|
251
|
-
off<K extends TransportEvent>(event: K, listener: TransportListener<K>): this;
|
|
252
|
-
/**
|
|
253
|
-
* Join the room, publish, and resolve on the first `connected`. Dead SFU
|
|
254
|
-
* sessions are replaced as they are found (PROTOCOL.md section 4), with no
|
|
255
|
-
* overall deadline: this rejects only when the Call ends, the room or
|
|
256
|
-
* transport closes, the room reports an error, or `signal` aborts (which
|
|
257
|
-
* also closes the transport).
|
|
258
|
-
*/
|
|
259
|
-
connect(options?: {
|
|
260
|
-
signal?: AbortSignal;
|
|
261
|
-
}): Promise<void>;
|
|
262
|
-
/** Replace only the room signaling socket and replay the identical publication. */
|
|
263
|
-
reconnect(): Promise<void>;
|
|
264
|
-
/**
|
|
265
|
-
* ICE candidates, state transitions, packet counts in both directions,
|
|
266
|
-
* room frame counts and restarts recorded for this call, with a one-line summary.
|
|
267
|
-
*/
|
|
268
|
-
diagnostics(): RelayCallIceDiagnostics;
|
|
269
|
-
/**
|
|
270
|
-
* Feed interleaved PCM16 audio into Relay. Frames are split into 10 ms WebRTC
|
|
271
|
-
* source slices and handed to the engine at once; the engine's 20 ms pump
|
|
272
|
-
* paces the wire, so adapters may push faster than real time (LiveKit's
|
|
273
|
-
* `AudioSource.captureFrame` shape). Resolves once the slices are queued;
|
|
274
|
-
* `waitForPlayout()` tells when they have left.
|
|
275
|
-
*/
|
|
276
|
-
writeAudio(frame: RelayAudioFrame): Promise<void>;
|
|
277
|
-
/** Milliseconds of audio accepted by `writeAudio` but not yet written to RTP. */
|
|
278
|
-
queuedAudioMs(): number;
|
|
279
|
-
/**
|
|
280
|
-
* Resolves when every accepted slice has been written to RTP and the engine's
|
|
281
|
-
* pump is idle; immediately when nothing is queued; early on `clearAudio()`
|
|
282
|
-
* or `close()` (the caller reads `queuedAudioMs()` to learn what was dropped).
|
|
283
|
-
*/
|
|
284
|
-
waitForPlayout(): Promise<void>;
|
|
285
|
-
/** Drop outgoing PCM that has not reached RTP and release `waitForPlayout()` callers. */
|
|
286
|
-
clearAudio(): void;
|
|
287
|
-
/**
|
|
288
|
-
* Resolves once `peerAudio` has fired (at once if it already has). Rejects
|
|
289
|
-
* after `timeoutMs`, or when the Call ends or the transport closes first.
|
|
290
|
-
*/
|
|
291
|
-
waitForPeerAudio(timeoutMs: number): Promise<void>;
|
|
292
|
-
/**
|
|
293
|
-
* True once the person is receiving this transport's audio: a roomState
|
|
294
|
-
* that arrived after this peer's publish answer was applied lists `audio` in
|
|
295
|
-
* the person's `receiving` (PROTOCOL.md section 6b). False again from a
|
|
296
|
-
* restart until the new session is pulled.
|
|
297
|
-
*/
|
|
298
|
-
get subscribed(): boolean;
|
|
299
|
-
/**
|
|
300
|
-
* Resolves once `subscribed` is true (at once if it is). Copy of LiveKit's
|
|
301
|
-
* `publication.waitForSubscription()`, which its room audio output awaits
|
|
302
|
-
* before playing a frame. Rejects when the Call ends or the transport closes.
|
|
303
|
-
*/
|
|
304
|
-
waitForSubscription(): Promise<void>;
|
|
305
|
-
setMuted(muted: boolean): void;
|
|
306
|
-
/**
|
|
307
|
-
* Publish the camera (LiveKit `LocalParticipant.publishTrack`). The first
|
|
308
|
-
* call adds a `video` track to the SFU session with an add-track offer, then
|
|
309
|
-
* announces `userUpdate { video: true }`; later calls, after
|
|
310
|
-
* `unpublishTrack`, only resume sending and announce it again
|
|
311
|
-
* (PROTOCOL.md sections 1-2). Requires `connect()` and the werift engine.
|
|
312
|
-
*/
|
|
313
|
-
publishTrack(track: LocalVideoTrack, options?: TrackPublishOptions): Promise<void>;
|
|
314
|
-
/**
|
|
315
|
-
* Stop sending the camera and announce `userUpdate { video: false }`. The
|
|
316
|
-
* track stays negotiated on the SFU (PROTOCOL.md section 1), so a later
|
|
317
|
-
* `publishTrack` with the same track resumes it without renegotiating.
|
|
318
|
-
*/
|
|
319
|
-
unpublishTrack(track: LocalVideoTrack): Promise<void>;
|
|
320
|
-
/** The person's video track, once it has reached this peer. */
|
|
321
|
-
get remoteVideoTrack(): RemoteVideoTrack | undefined;
|
|
322
|
-
/** Frame, packet and keyframe counters for both video directions. */
|
|
323
|
-
videoStats(): RelayCallVideoStats;
|
|
324
|
-
end(): void;
|
|
325
|
-
close(): void;
|
|
326
|
-
}
|
|
327
|
-
//# sourceMappingURL=transport.d.ts.map
|
package/dist/transport.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,kBAAkB,EAElB,eAAe,EAGf,kBAAkB,EAElB,KAAK,EACN,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE5B,KAAK,qBAAqB,EAC1B,gBAAgB,EAChB,K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