@memberjunction/realtime-runtime 6.2.0-edge.4 → 6.2.0-edge.6
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/dist/hosts/IRealtimeMediaHost.d.ts +25 -30
- package/dist/hosts/IRealtimeMediaHost.d.ts.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/session/RealtimeSessionRuntime.d.ts +372 -73
- package/dist/session/RealtimeSessionRuntime.d.ts.map +1 -1
- package/dist/session/RealtimeSessionRuntime.js +919 -212
- package/dist/session/RealtimeSessionRuntime.js.map +1 -1
- package/dist/session/RecordingShardDrain.d.ts +59 -0
- package/dist/session/RecordingShardDrain.d.ts.map +1 -0
- package/dist/session/RecordingShardDrain.js +135 -0
- package/dist/session/RecordingShardDrain.js.map +1 -0
- package/dist/session/RecordingShardQueue.d.ts +64 -38
- package/dist/session/RecordingShardQueue.d.ts.map +1 -1
- package/dist/session/RecordingShardQueue.js +106 -84
- package/dist/session/RecordingShardQueue.js.map +1 -1
- package/dist/session/RecordingShardStore.d.ts +57 -0
- package/dist/session/RecordingShardStore.d.ts.map +1 -0
- package/dist/session/RecordingShardStore.js +184 -0
- package/dist/session/RecordingShardStore.js.map +1 -0
- package/dist/session/RecordingShardWindow.d.ts +42 -0
- package/dist/session/RecordingShardWindow.d.ts.map +1 -0
- package/dist/session/RecordingShardWindow.js +88 -0
- package/dist/session/RecordingShardWindow.js.map +1 -0
- package/dist/session/RecordingTransport.d.ts +67 -0
- package/dist/session/RecordingTransport.d.ts.map +1 -0
- package/dist/session/RecordingTransport.js +61 -0
- package/dist/session/RecordingTransport.js.map +1 -0
- package/package.json +10 -9
|
@@ -136,23 +136,20 @@ export interface IRealtimeFrameSampler {
|
|
|
136
136
|
/**
|
|
137
137
|
* The recording capability a host may optionally provide.
|
|
138
138
|
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
139
|
+
* The host captures the call (mic + agent mix) at **48 kHz** and runs ONE continuous Opus encoder
|
|
140
|
+
* for the whole call: mono, 32 kbps, 20 ms frames (960 samples). The runtime pulls the encoded
|
|
141
|
+
* packets every few seconds, cuts them into indexed `MJOPUS1` shards, keeps each one in a durable
|
|
142
|
+
* local store until the server acknowledges it, and sends a terminal request when the call ends.
|
|
143
|
+
* The host never builds a container (no WAV, no Ogg) and never base64-encodes anything: the server
|
|
144
|
+
* assembles the final `recording.wav` from the shards.
|
|
145
|
+
*
|
|
146
|
+
* Every method is best-effort by contract: a recorder that fails mid-session must degrade to
|
|
147
|
+
* "no recording" rather than failing the call, because audio capture is never worth dropping a live
|
|
148
|
+
* conversation over.
|
|
143
149
|
*/
|
|
144
150
|
export interface IRealtimeSessionRecorder {
|
|
145
|
-
/** `false` when capture could not start (unsupported platform, no permission). */
|
|
151
|
+
/** `false` when capture could not start (unsupported platform, no permission, no encoder). */
|
|
146
152
|
readonly IsRecording: boolean;
|
|
147
|
-
/** Capture sample rate, used to label the header-less PCM16 crash-recovery shards. */
|
|
148
|
-
readonly SampleRate: number;
|
|
149
|
-
/**
|
|
150
|
-
* Container MIME type of the FINAL consolidated recording.
|
|
151
|
-
*
|
|
152
|
-
* Read it BEFORE {@link StopAndEncode} — implementations are permitted to clear it on stop,
|
|
153
|
-
* which is why the runtime captures it first.
|
|
154
|
-
*/
|
|
155
|
-
readonly MimeType: string;
|
|
156
153
|
/**
|
|
157
154
|
* Begins capture of the microphone, mixing in the agent's audio when it is already available.
|
|
158
155
|
*
|
|
@@ -168,26 +165,24 @@ export interface IRealtimeSessionRecorder {
|
|
|
168
165
|
* old track would otherwise record silence. A recorder without it keeps its original binding.
|
|
169
166
|
*/
|
|
170
167
|
ReplaceMicrophone?(micStream: MediaStream): void;
|
|
171
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* Milliseconds into the recording, derived from the samples captured so far on the 48 kHz
|
|
170
|
+
* sample clock (never wall clock), used to stamp per-turn cue offsets into the assembled file.
|
|
171
|
+
*/
|
|
172
172
|
NowOffsetMs(): number;
|
|
173
|
-
/** Waveform peaks computed during capture; survives {@link StopAndEncode}. */
|
|
174
|
-
GetPeaks(): number[];
|
|
175
173
|
/**
|
|
176
|
-
* Returns
|
|
177
|
-
* when
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
* React Native reads a file off disk, and a test harness may hold bytes in memory. The runtime
|
|
181
|
-
* only forwards the string to the server, so it should never learn which of those it is.
|
|
182
|
-
*
|
|
183
|
-
* Shards are header-less raw little-endian PCM16 — recovery is concatenate-in-order then
|
|
184
|
-
* WAV-wrap. The canonical seekable file is the consolidated {@link StopAndEncode} upload.
|
|
174
|
+
* Returns the 20 ms Opus packets encoded since the previous call, in capture order, and forgets
|
|
175
|
+
* them; an empty array when none are ready. Synchronous and cheap: it hands over what the
|
|
176
|
+
* encoder already produced and never encodes on the caller's thread — the runtime calls it from
|
|
177
|
+
* `pagehide`, where there is no time to wait for an encoder.
|
|
185
178
|
*/
|
|
186
|
-
|
|
179
|
+
TakeEncodedPackets(): Uint8Array[];
|
|
187
180
|
/**
|
|
188
|
-
* Stops capture
|
|
189
|
-
*
|
|
181
|
+
* Stops capture, flushes the encoder (its last packets become available to
|
|
182
|
+
* {@link TakeEncodedPackets}), and resolves the total number of samples captured at 48 kHz. That
|
|
183
|
+
* count may be less than `packets × 960` when the encoder padded its last frame; the runtime
|
|
184
|
+
* trims the final shard to it. Idempotent: a second call resolves the same count.
|
|
190
185
|
*/
|
|
191
|
-
|
|
186
|
+
Stop(): Promise<number>;
|
|
192
187
|
}
|
|
193
188
|
//# sourceMappingURL=IRealtimeMediaHost.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRealtimeMediaHost.d.ts","sourceRoot":"","sources":["../../src/hosts/IRealtimeMediaHost.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;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
|
29
29
|
*/
|
|
30
|
-
export { RealtimeSessionRuntime } from './session/RealtimeSessionRuntime.js';
|
|
31
|
-
export { REALTIME_RECORDING_CONSENT_KEY, type RealtimeConnectionState, type RealtimeCaption, type RealtimeDelegationProgress, type RealtimeDelegationResult, type RealtimeClientToolHandler, type RealtimeChannelFocusEvent, type RealtimeDelegationNarration, type RealtimeThoughtNarration, type StartRealtimeClientSessionResult, type RealtimeSessionRunOptions, } from './session/RealtimeSessionRuntime.js';
|
|
30
|
+
export { RealtimeSessionRuntime, RealtimeSessionAlreadyActiveError, type SessionEndReason, type ClientCloseReason } from './session/RealtimeSessionRuntime.js';
|
|
31
|
+
export { REALTIME_RECORDING_CONSENT_KEY, RECORDING_TERMINAL_ACK_TIMEOUT_MS, RECORDER_STOP_TIMEOUT_MS, type RealtimeConnectionState, type RealtimeCaption, type RealtimeDelegationProgress, type RealtimeDelegationResult, type RealtimeClientToolHandler, type RealtimeChannelFocusEvent, type RealtimeDelegationNarration, type RealtimeThoughtNarration, type StartRealtimeClientSessionResult, type RealtimeSessionRunOptions, type RecordingTerminalOptions, } from './session/RealtimeSessionRuntime.js';
|
|
32
32
|
export { ResolveAvatarNotice, type RealtimeAvatarNotice } from './session/avatar-notice.js';
|
|
33
33
|
export { DefaultRealtimeSessionLauncher, type IRealtimeSessionLauncher, type RealtimeSessionLaunchRequest, type RealtimeSessionLaunchContext, } from './session/session-launcher.js';
|
|
34
34
|
export { RealtimeSessionEventHub, type IRealtimeSessionEventSource, type RealtimeSessionEventHubOptions, type RealtimeSessionStreamEvent, type RealtimeSessionVerificationSnapshot, } from './session/session-event-hub.js';
|
|
@@ -52,4 +52,8 @@ export { VisualPerceptionPump, type VisualFrameReason, type VisualFrameSink, typ
|
|
|
52
52
|
export { ChannelPerceptionCoalescer, DEFAULT_CHANNEL_PERCEPTION_OPTIONS, type ChannelPerceptionHost, type ChannelPerceptionOptions, } from './channels/channel-perception.js';
|
|
53
53
|
export { ParseDelegationResultJson, type ParsedDelegationArtifact, type ParsedDelegationResult, FormatToolName, } from './session/delegation-result-parser.js';
|
|
54
54
|
export { BuildNarrationInstructions, DefaultNarrationInstructions, type NarrationBuildOptions, } from './narration/narration-template.js';
|
|
55
|
+
export { type RecordingShard } from './session/RecordingShardWindow.js';
|
|
56
|
+
export { CreateRecordingShardStore, NullRecordingShardStore, RECORDING_SHARD_RETENTION_MS, type IRecordingShardStore, type PendingRecordingShard, } from './session/RecordingShardStore.js';
|
|
57
|
+
export { FetchRecordingTransport, RecordingBaseURLFromGraphQLURL, type FetchRecordingTransportConfig, type IRecordingTransport, type RecordingTerminalInput, type RecordingUploadOptions, type RecordingUploadOutcome, } from './session/RecordingTransport.js';
|
|
58
|
+
export { CreateRecordingTransportForProvider, DeleteStoredRecordingShard, DrainStoredRecordingShardsOnce, MAX_DRAINED_SHARDS_PER_LOAD, RECORDING_LOGOUT_SEND_TIMEOUT_MS, ReleaseRecordingShardsAtLogout, ReleaseUserRecordingShards, type RecordingShardDrainPass, type RecordingShardRelease, } from './session/RecordingShardDrain.js';
|
|
55
59
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,OAAO,EAAE,sBAAsB,EAAE,iCAAiC,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAG5J,OAAO,EACH,8BAA8B,EAC9B,iCAAiC,EACjC,wBAAwB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB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,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,cAAc,GACjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACH,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,qBAAqB,GAC7B,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EACH,yBAAyB,EACzB,uBAAuB,EACvB,4BAA4B,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC7B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACH,uBAAuB,EACvB,8BAA8B,EAC9B,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC9B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACH,mCAAmC,EACnC,0BAA0B,EAC1B,8BAA8B,EAC9B,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,0BAA0B,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,GAC7B,MAAM,+BAA+B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
* @module @memberjunction/realtime-runtime
|
|
29
29
|
*/
|
|
30
30
|
// The session runtime itself — the orchestration a host subclasses or composes.
|
|
31
|
-
export { RealtimeSessionRuntime } from './session/RealtimeSessionRuntime.js';
|
|
31
|
+
export { RealtimeSessionRuntime, RealtimeSessionAlreadyActiveError } from './session/RealtimeSessionRuntime.js';
|
|
32
32
|
// Session-facing types a host or UI binds to.
|
|
33
|
-
export { REALTIME_RECORDING_CONSENT_KEY, } from './session/RealtimeSessionRuntime.js';
|
|
33
|
+
export { REALTIME_RECORDING_CONSENT_KEY, RECORDING_TERMINAL_ACK_TIMEOUT_MS, RECORDER_STOP_TIMEOUT_MS, } from './session/RealtimeSessionRuntime.js';
|
|
34
34
|
// Why a connected call shows no avatar its agent asked for (`RealtimeSessionRuntime.AvatarNotice$`).
|
|
35
35
|
export { ResolveAvatarNotice } from './session/avatar-notice.js';
|
|
36
36
|
// How a session is minted — the seam an app implements to replace the stock mint.
|
|
@@ -60,4 +60,7 @@ export { ChannelPerceptionCoalescer, DEFAULT_CHANNEL_PERCEPTION_OPTIONS, } from
|
|
|
60
60
|
// Delegation result parsing + narration instruction assembly.
|
|
61
61
|
export { ParseDelegationResultJson, FormatToolName, } from './session/delegation-result-parser.js';
|
|
62
62
|
export { BuildNarrationInstructions, DefaultNarrationInstructions, } from './narration/narration-template.js';
|
|
63
|
+
export { CreateRecordingShardStore, NullRecordingShardStore, RECORDING_SHARD_RETENTION_MS, } from './session/RecordingShardStore.js';
|
|
64
|
+
export { FetchRecordingTransport, RecordingBaseURLFromGraphQLURL, } from './session/RecordingTransport.js';
|
|
65
|
+
export { CreateRecordingTransportForProvider, DeleteStoredRecordingShard, DrainStoredRecordingShardsOnce, MAX_DRAINED_SHARDS_PER_LOAD, RECORDING_LOGOUT_SEND_TIMEOUT_MS, ReleaseRecordingShardsAtLogout, ReleaseUserRecordingShards, } from './session/RecordingShardDrain.js';
|
|
63
66
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,gFAAgF;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,gFAAgF;AAChF,OAAO,EAAE,sBAAsB,EAAE,iCAAiC,EAAiD,MAAM,kCAAkC,CAAC;AAE5J,8CAA8C;AAC9C,OAAO,EACH,8BAA8B,EAC9B,iCAAiC,EACjC,wBAA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