@ikonai/sdk 1.0.79 → 1.0.80
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/assets/{audio-playback-worker-DDtsnLoq.js → audio-playback-worker-C9XXiFhK.js} +350 -349
- package/assets/{protocol-worker-BoZcMF0x.js → protocol-worker-1sGaGw11.js} +277 -277
- package/assets/video-capture-worker-zOxyU-q3.js +1126 -0
- package/assets/video-playback-worker-DfwfIoRw.js +1005 -0
- package/assets/viseme-worker-CFJdP6of.js +831 -0
- package/client/ikon-client.d.ts +12 -0
- package/index.js +935 -901
- package/media/ikon-audio-capture.d.ts +8 -0
- package/package.json +1 -1
- package/assets/video-capture-worker-DxgvFTcw.js +0 -1126
- package/assets/video-playback-worker-Ca4XVGqt.js +0 -1005
- package/assets/viseme-worker-DVWM4pRh.js +0 -831
|
@@ -129,6 +129,7 @@ export declare class IkonAudioCapture {
|
|
|
129
129
|
private nextTrackId;
|
|
130
130
|
private captures;
|
|
131
131
|
private pendingCaptures;
|
|
132
|
+
private activeWebRtcCaptureInvalidate;
|
|
132
133
|
private readonly config;
|
|
133
134
|
private deviceChangeHandler;
|
|
134
135
|
private audioContextStateHandler;
|
|
@@ -219,6 +220,13 @@ export declare class IkonAudioCapture {
|
|
|
219
220
|
* De-duplicates concurrent loading attempts for the same context.
|
|
220
221
|
*/
|
|
221
222
|
private ensureWorklet;
|
|
223
|
+
/**
|
|
224
|
+
* Called by the client when the WebRTC transport is lost mid-session. The active WebRTC
|
|
225
|
+
* capture handle can no longer send or end segments (its signaling object is gone), so mark
|
|
226
|
+
* it stopped and fire its onStopped callback — owners (e.g. CaptureButton) then drop the
|
|
227
|
+
* handle, and the next startMic re-evaluates the transport and takes the protocol channel.
|
|
228
|
+
*/
|
|
229
|
+
handleWebRtcTransportLost(): void;
|
|
222
230
|
startMic(request?: IkonAudioCaptureRequest): Promise<IkonAudioCaptureHandle>;
|
|
223
231
|
stop(captureId: string): Promise<boolean>;
|
|
224
232
|
startSegment(captureId: string): boolean;
|