@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.
@@ -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 {};