@spatius/avatarkit 1.3.4 → 1.3.5
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/CHANGELOG.md +7 -0
- package/dist/assets/{OpusDecoderWorker.worker-BAd4MYA3.js → OpusDecoderWorker.worker-BTHlnzwA.js} +8890 -3
- package/dist/assets/{OpusEncoderWorker.worker-DdhFHkno.js → OpusEncoderWorker.worker-DB_Lvnzc.js} +8890 -3
- package/dist/core/AvatarController.d.ts +17 -0
- package/dist/core/sdk-ref.d.ts +1 -0
- package/dist/index.js +46299 -679
- package/dist/internal-telemetry.d.ts +20 -1
- package/dist/internal-telemetry.js +29 -5
- package/dist/{logger-B_tTFAYq.js → otel-trace-CdspSqI0.js} +5121 -120
- package/dist/{assets/rolldown-runtime-B-1-B7_t.js → rolldown-runtime-FDOR9p9I.js} +1 -10
- package/package.json +1 -1
- package/dist/AvatarDownloader-CavxMpAz.js +0 -569
- package/dist/AvatarSDK-BMjjoYiZ.js +0 -4400
- package/dist/OpusCodec-Cib3mtQ2.js +0 -41760
- package/dist/OpusDecoderProxy-Dz21UtCz.js +0 -142
- package/dist/OpusEncoderProxy-BiX90p4q.js +0 -170
- package/dist/StreamingAudioPlayer-D5_x6veD.js +0 -561
- package/dist/assets/AvatarDownloader-DkReeoUZ.js +0 -797
- package/dist/assets/AvatarSDK-DX8_-oyi.js +0 -6723
- package/dist/assets/avatar_core_wasm-wdep7Ict.js +0 -2536
- package/dist/assets/logger-__jZD7QG.js +0 -15542
- package/dist/error-utils-B76Nf6d6.js +0 -85
- package/dist/otel-trace-DmmQrXv-.js +0 -2611
- package/dist/pwa-cache-manager-BxeZI1BU.js +0 -151
- package/dist/rolldown-runtime-B-1-B7_t.js +0 -33
|
@@ -87,6 +87,23 @@ export declare class AvatarController {
|
|
|
87
87
|
private readonly MAX_AUDIO_TIME_STUCK_COUNT;
|
|
88
88
|
private readonly AUDIO_TIME_STUCK_THRESHOLD;
|
|
89
89
|
private latencyMarks;
|
|
90
|
+
/**
|
|
91
|
+
* W3C `traceparent` the driving service stamped on this round's animation
|
|
92
|
+
* packets (`ServerResponseAnimation.trace_context`), first one wins.
|
|
93
|
+
*
|
|
94
|
+
* Backend mode only, because only there is the SDK the FOLLOWER of the trace:
|
|
95
|
+
* the conversation_id is minted locally and never reaches the server, so the
|
|
96
|
+
* trace_id derived from it cannot match the server's and the round would
|
|
97
|
+
* otherwise report as a trace unrelated to the upstream one. In direct mode the
|
|
98
|
+
* SDK originates the trace (it sends buildTraceparent upstream on the first
|
|
99
|
+
* audio packet), so the echoed value is by construction the derived one and is
|
|
100
|
+
* not collected — see startPlaybackTrace.
|
|
101
|
+
*
|
|
102
|
+
* Read when the round's trace is built (at playback end), hence kept for the
|
|
103
|
+
* round rather than used on the spot. Reset per conversation alongside
|
|
104
|
+
* latencyMarks.
|
|
105
|
+
*/
|
|
106
|
+
private serverTraceparent;
|
|
90
107
|
/**
|
|
91
108
|
* Per-call trace records for the current round, in call order. Unlike
|
|
92
109
|
* latencyMarks (which aggregates arrival into per-second/per-group instants),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|