@arbidocs/react 0.5.178 → 0.5.180

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.
@@ -277,6 +277,32 @@ declare function useWebinar({ role: roleHint, callExtId, linkVersion, callKey, }
277
277
  */
278
278
  declare function useHostMuteNotice(callExtId: string): void;
279
279
 
280
+ /** Content-free call measurements. Server and browser clocks remain explicitly separate. */
281
+ declare const CALL_TIMING_PROTOCOL = "arbi.call.timing.v1";
282
+ interface CallTimingEnvelope {
283
+ protocol: typeof CALL_TIMING_PROTOCOL;
284
+ participant: string;
285
+ utterance_id: string;
286
+ generation: number;
287
+ event: string;
288
+ server_epoch_ms: number;
289
+ server_monotonic_ms: number;
290
+ }
291
+ interface CallTimingMeasurement {
292
+ utterance_id: string;
293
+ event: string;
294
+ client_performance_ms: number;
295
+ audio_context_seconds?: number;
296
+ estimated_output_performance_ms?: number;
297
+ source_sample?: number;
298
+ server_epoch_ms?: number;
299
+ server_monotonic_ms?: number;
300
+ generation?: number;
301
+ timing_batch_size?: number;
302
+ mouth_delta?: number;
303
+ mouth_delta_threshold?: number;
304
+ }
305
+
280
306
  interface CallMediaEnvelope {
281
307
  protocol: 'arbi.call.media.v1';
282
308
  participant: string;
@@ -294,7 +320,10 @@ interface CallMediaEnvelope {
294
320
  declare class CallMediaPlayer {
295
321
  readonly context: AudioContext;
296
322
  private changed;
297
- active: boolean;
323
+ private measured;
324
+ private streaming;
325
+ private audible;
326
+ get active(): boolean;
298
327
  /** Retain transport ownership between utterances; reattaching RTC can replay its buffered tail. */
299
328
  suppressesTrack: boolean;
300
329
  avatar: string;
@@ -307,13 +336,24 @@ declare class CallMediaPlayer {
307
336
  private sources;
308
337
  private seen;
309
338
  private finishTimer;
339
+ readonly measurements: CallTimingMeasurement[];
340
+ private renderedMouth;
341
+ private mouthRest;
342
+ private scheduledNonzeroPcm;
343
+ private scheduledPcm;
310
344
  readonly recording: MediaStreamAudioDestinationNode;
311
- constructor(context: AudioContext, changed: () => void);
312
- push(message: CallMediaEnvelope): void;
345
+ constructor(context: AudioContext, changed: () => void, measured?: (measurement: CallTimingMeasurement) => void);
346
+ push(message: CallMediaEnvelope, receivedAt?: number): void;
313
347
  sample(): number[] | null;
348
+ /** Call after the real mesh render, only with mouth/jaw controls actually applied to it. */
349
+ reportMouthRenderSubmitted(controls: Readonly<Record<string, number>>): void;
350
+ timing(event: CallTimingEnvelope, receivedAt?: number, batchSize?: number): void;
351
+ private measure;
352
+ private outputTime;
353
+ private setAudible;
314
354
  reset(releaseTrack?: boolean): void;
315
355
  }
316
356
 
317
357
  declare function useCallMedia(enabled: boolean, key: Uint8Array | null): ReadonlyMap<string, CallMediaPlayer>;
318
358
 
319
- export { CallMediaPlayer, type CallRecordingControl, type CallRoomState, type CallTranscription, DEMOTE_REJOIN_FALLBACK_MS, FINAL_SEGMENT_GRACE_MS, type InCallChatState, type PendingRecordingStart, type WebinarAttendeeRow, type WebinarControl, type WebinarHandRow, captureAllowed, createE2EEWorker, mayStillSend, storedSpeakerName, useCallMedia, useCallRecorder, useCallRoom, useCallTranscriber, useHostMuteNotice, useInCallChat, useMuteRequests, useTrackUploader, useWebinar };
359
+ export { CALL_TIMING_PROTOCOL, CallMediaPlayer, type CallRecordingControl, type CallRoomState, type CallTimingMeasurement, type CallTranscription, DEMOTE_REJOIN_FALLBACK_MS, FINAL_SEGMENT_GRACE_MS, type InCallChatState, type PendingRecordingStart, type WebinarAttendeeRow, type WebinarControl, type WebinarHandRow, captureAllowed, createE2EEWorker, mayStillSend, storedSpeakerName, useCallMedia, useCallRecorder, useCallRoom, useCallTranscriber, useHostMuteNotice, useInCallChat, useMuteRequests, useTrackUploader, useWebinar };
@@ -6,7 +6,9 @@ export * from "./useWebinar.js";
6
6
  export * from "./useHostMuteNotice.js";
7
7
  export * from "./useCallMedia.js";
8
8
  import { CallMediaPlayer } from "./call-media-player.js";
9
+ import { CALL_TIMING_PROTOCOL } from "./call-timing.js";
9
10
  export {
11
+ CALL_TIMING_PROTOCOL,
10
12
  CallMediaPlayer
11
13
  };
12
14
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/calls/livekit/index.ts"],
4
- "sourcesContent": ["/**\n * `@arbidocs/react/calls` \u2014 the calls' LiveKit side, for code inside a `<LiveKitRoom>`: the room\n * with end-to-end encryption, live transcription, recording, the in-call chat, webinars and the\n * host's moderation. `livekit-client` and `@livekit/components-react` are this package's own\n * dependencies, reached only through this entry: a site that never imports it does not bundle\n * LiveKit. Everything without LiveKit (data, the call session, actions) is in the root entry.\n */\nexport * from './room'\nexport * from './useCallTranscriber'\nexport * from './useCallRecorder'\nexport * from './useInCallChat'\nexport * from './useWebinar'\nexport * from './useHostMuteNotice'\nexport * from './useCallMedia'\nexport { CallMediaPlayer } from './call-media-player'\n"],
5
- "mappings": "AAOA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAAS,uBAAuB;",
4
+ "sourcesContent": ["/**\n * `@arbidocs/react/calls` \u2014 the calls' LiveKit side, for code inside a `<LiveKitRoom>`: the room\n * with end-to-end encryption, live transcription, recording, the in-call chat, webinars and the\n * host's moderation. `livekit-client` and `@livekit/components-react` are this package's own\n * dependencies, reached only through this entry: a site that never imports it does not bundle\n * LiveKit. Everything without LiveKit (data, the call session, actions) is in the root entry.\n */\nexport * from './room'\nexport * from './useCallTranscriber'\nexport * from './useCallRecorder'\nexport * from './useInCallChat'\nexport * from './useWebinar'\nexport * from './useHostMuteNotice'\nexport * from './useCallMedia'\nexport { CallMediaPlayer } from './call-media-player'\n\nexport { CALL_TIMING_PROTOCOL } from './call-timing'\nexport type { CallTimingMeasurement } from './call-timing'\n"],
5
+ "mappings": "AAOA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAAS,uBAAuB;AAEhC,SAAS,4BAA4B;",
6
6
  "names": []
7
7
  }
@@ -3,6 +3,7 @@ import { useRoomContext } from "@livekit/components-react";
3
3
  import { ConnectionState, RoomEvent } from "livekit-client";
4
4
  import { CALL_MEDIA_PROTOCOL, decryptCallMedia } from "@arbidocs/client";
5
5
  import { CallMediaPlayer, checkedCallMedia } from "./call-media-player.js";
6
+ import { CALL_TIMING_PROTOCOL, checkedCallTimings } from "./call-timing.js";
6
7
  function useCallMedia(enabled, key) {
7
8
  const room = useRoomContext();
8
9
  const [players, setPlayers] = useState(/* @__PURE__ */ new Map());
@@ -21,24 +22,38 @@ function useCallMedia(enabled, key) {
21
22
  if (!disposed) setPlayers(new Map(live));
22
23
  };
23
24
  const received = (bytes, from, _kind, topic) => {
24
- if (topic !== CALL_MEDIA_PROTOCOL || !from || from.attributes["arbi.call_assistant"] !== "true")
25
+ if (topic !== CALL_MEDIA_PROTOCOL && topic !== CALL_TIMING_PROTOCOL || !from || from.attributes["arbi.call_assistant"] !== "true")
25
26
  return;
27
+ const receivedAt = performance.now();
26
28
  const identity = from.identity;
27
29
  const chain = chains.get(identity) ?? Promise.resolve();
28
30
  chains.set(
29
31
  identity,
30
32
  chain.then(async () => {
31
33
  if (disposed) return;
32
- const message = checkedCallMedia(await decryptCallMedia(bytes, key), identity);
34
+ const plaintext = await decryptCallMedia(bytes, key);
33
35
  let player = live.get(identity);
34
36
  if (!player) {
35
- player = new CallMediaPlayer(context, changed);
37
+ player = new CallMediaPlayer(context, changed, (measurement) => {
38
+ window.dispatchEvent(
39
+ new CustomEvent("arbi:call-timing", {
40
+ detail: { participant: identity, ...measurement }
41
+ })
42
+ );
43
+ });
36
44
  live.set(identity, player);
37
45
  }
46
+ if (topic === CALL_TIMING_PROTOCOL) {
47
+ const events = checkedCallTimings(plaintext, identity);
48
+ for (const event of events) player.timing(event, receivedAt, events.length);
49
+ return;
50
+ }
51
+ const message = checkedCallMedia(plaintext, identity);
38
52
  if (context.state !== "running") await context.resume();
39
53
  if (context.state !== "running") throw new Error("Call audio is unavailable");
40
- player.push(message);
54
+ player.push(message, receivedAt);
41
55
  }).catch(() => {
56
+ if (topic === CALL_TIMING_PROTOCOL) return;
42
57
  live.get(identity)?.reset(true);
43
58
  void room.localParticipant.setAttributes({ "arbi.call_media": "" }).catch(() => void 0);
44
59
  })
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/calls/livekit/useCallMedia.ts"],
4
- "sourcesContent": ["/** Separately encrypted data-channel media, played on one audio/control clock. */\nimport { useEffect, useState } from 'react'\nimport { useRoomContext } from '@livekit/components-react'\nimport { ConnectionState, RoomEvent, type RemoteParticipant } from 'livekit-client'\nimport { CALL_MEDIA_PROTOCOL, decryptCallMedia } from '@arbidocs/client'\nimport { CallMediaPlayer, checkedCallMedia } from './call-media-player'\n\nexport function useCallMedia(enabled: boolean, key: Uint8Array | null) {\n const room = useRoomContext()\n const [players, setPlayers] = useState<ReadonlyMap<string, CallMediaPlayer>>(new Map())\n useEffect(() => {\n if (!enabled || !key || typeof AudioContext === 'undefined') return\n const context = new AudioContext()\n const live = new Map<string, CallMediaPlayer>()\n const chains = new Map<string, Promise<void>>()\n let disposed = false\n const advertise = () => {\n if (!disposed && context.state === 'running' && room.state === ConnectionState.Connected) {\n void room.localParticipant\n .setAttributes({ 'arbi.call_media': CALL_MEDIA_PROTOCOL })\n .catch(() => undefined)\n }\n }\n const changed = () => {\n if (!disposed) setPlayers(new Map(live))\n }\n const received = (\n bytes: Uint8Array,\n from?: RemoteParticipant,\n _kind?: unknown,\n topic?: string\n ) => {\n if (\n topic !== CALL_MEDIA_PROTOCOL ||\n !from ||\n from.attributes['arbi.call_assistant'] !== 'true'\n )\n return\n const identity = from.identity\n const chain = chains.get(identity) ?? Promise.resolve()\n chains.set(\n identity,\n chain\n .then(async () => {\n if (disposed) return\n const message = checkedCallMedia(await decryptCallMedia(bytes, key), identity)\n let player = live.get(identity)\n if (!player) {\n player = new CallMediaPlayer(context, changed)\n live.set(identity, player)\n }\n if (context.state !== 'running') await context.resume()\n if (context.state !== 'running') throw new Error('Call audio is unavailable')\n player.push(message)\n })\n .catch(() => {\n live.get(identity)?.reset(true)\n // A browser unable to play synchronized media keeps its ordinary LiveKit audio.\n void room.localParticipant\n .setAttributes({ 'arbi.call_media': '' })\n .catch(() => undefined)\n })\n )\n }\n const removed = (participant: RemoteParticipant) => {\n live.get(participant.identity)?.reset()\n live.delete(participant.identity)\n changed()\n }\n room.on(RoomEvent.DataReceived, received)\n room.on(RoomEvent.ParticipantDisconnected, removed)\n room.on(RoomEvent.Connected, advertise)\n room.on(RoomEvent.Reconnected, advertise)\n void context\n .resume()\n .then(() => {\n advertise()\n })\n .catch(() => undefined)\n return () => {\n disposed = true\n room.off(RoomEvent.DataReceived, received)\n room.off(RoomEvent.ParticipantDisconnected, removed)\n room.off(RoomEvent.Connected, advertise)\n room.off(RoomEvent.Reconnected, advertise)\n if (room.state === ConnectionState.Connected) {\n void room.localParticipant.setAttributes({ 'arbi.call_media': '' }).catch(() => undefined)\n }\n for (const player of live.values()) player.reset()\n void context.close()\n setPlayers(new Map())\n }\n }, [enabled, key, room])\n return players\n}\n"],
5
- "mappings": "AACA,SAAS,WAAW,gBAAgB;AACpC,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB,iBAAyC;AACnE,SAAS,qBAAqB,wBAAwB;AACtD,SAAS,iBAAiB,wBAAwB;AAE3C,SAAS,aAAa,SAAkB,KAAwB;AACrE,QAAM,OAAO,eAAe;AAC5B,QAAM,CAAC,SAAS,UAAU,IAAI,SAA+C,oBAAI,IAAI,CAAC;AACtF,YAAU,MAAM;AACd,QAAI,CAAC,WAAW,CAAC,OAAO,OAAO,iBAAiB,YAAa;AAC7D,UAAM,UAAU,IAAI,aAAa;AACjC,UAAM,OAAO,oBAAI,IAA6B;AAC9C,UAAM,SAAS,oBAAI,IAA2B;AAC9C,QAAI,WAAW;AACf,UAAM,YAAY,MAAM;AACtB,UAAI,CAAC,YAAY,QAAQ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,yBAAyB,OAAO;AAClD,SAAK,GAAG,UAAU,WAAW,SAAS;AACtC,SAAK,GAAG,UAAU,aAAa,SAAS;AACxC,SAAK,QACF,OAAO,EACP,KAAK,MAAM;AACV,gBAAU;AAAA,IACZ,CAAC,EACA,MAAM,MAAM,MAAS;AACxB,WAAO,MAAM;AACX,iBAAW;AACX,WAAK,IAAI,UAAU,cAAc,QAAQ;AACzC,WAAK,IAAI,UAAU,yBAAyB,OAAO;AACnD,WAAK,IAAI,UAAU,WAAW,SAAS;AACvC,WAAK,IAAI,UAAU,aAAa,SAAS;AACzC,UAAI,KAAK,UAAU,gBAAgB,WAAW;AAC5C,aAAK,KAAK,iBAAiB,cAAc,EAAE,mBAAmB,GAAG,CAAC,EAAE,MAAM,MAAM,MAAS;AAAA,MAC3F;AACA,iBAAW,UAAU,KAAK,OAAO,EAAG,QAAO,MAAM;AACjD,WAAK,QAAQ,MAAM;AACnB,iBAAW,oBAAI,IAAI,CAAC;AAAA,IACtB;AAAA,EACF,GAAG,CAAC,SAAS,KAAK,IAAI,CAAC;AACvB,SAAO;AACT;",
4
+ "sourcesContent": ["/** Separately encrypted data-channel media, played on one audio/control clock. */\nimport { useEffect, useState } from 'react'\nimport { useRoomContext } from '@livekit/components-react'\nimport { ConnectionState, RoomEvent, type RemoteParticipant } from 'livekit-client'\nimport { CALL_MEDIA_PROTOCOL, decryptCallMedia } from '@arbidocs/client'\nimport { CallMediaPlayer, checkedCallMedia } from './call-media-player'\nimport { CALL_TIMING_PROTOCOL, checkedCallTimings } from './call-timing'\n\nexport function useCallMedia(enabled: boolean, key: Uint8Array | null) {\n const room = useRoomContext()\n const [players, setPlayers] = useState<ReadonlyMap<string, CallMediaPlayer>>(new Map())\n useEffect(() => {\n if (!enabled || !key || typeof AudioContext === 'undefined') return\n const context = new AudioContext()\n const live = new Map<string, CallMediaPlayer>()\n const chains = new Map<string, Promise<void>>()\n let disposed = false\n const advertise = () => {\n if (!disposed && context.state === 'running' && room.state === ConnectionState.Connected) {\n void room.localParticipant\n .setAttributes({ 'arbi.call_media': CALL_MEDIA_PROTOCOL })\n .catch(() => undefined)\n }\n }\n const changed = () => {\n if (!disposed) setPlayers(new Map(live))\n }\n const received = (\n bytes: Uint8Array,\n from?: RemoteParticipant,\n _kind?: unknown,\n topic?: string\n ) => {\n if (\n (topic !== CALL_MEDIA_PROTOCOL && topic !== CALL_TIMING_PROTOCOL) ||\n !from ||\n from.attributes['arbi.call_assistant'] !== 'true'\n )\n return\n const receivedAt = performance.now()\n const identity = from.identity\n const chain = chains.get(identity) ?? Promise.resolve()\n chains.set(\n identity,\n chain\n .then(async () => {\n if (disposed) return\n const plaintext = await decryptCallMedia(bytes, key)\n let player = live.get(identity)\n if (!player) {\n player = new CallMediaPlayer(context, changed, (measurement) => {\n window.dispatchEvent(\n new CustomEvent('arbi:call-timing', {\n detail: { participant: identity, ...measurement },\n })\n )\n })\n live.set(identity, player)\n }\n if (topic === CALL_TIMING_PROTOCOL) {\n const events = checkedCallTimings(plaintext, identity)\n for (const event of events) player.timing(event, receivedAt, events.length)\n return\n }\n const message = checkedCallMedia(plaintext, identity)\n if (context.state !== 'running') await context.resume()\n if (context.state !== 'running') throw new Error('Call audio is unavailable')\n player.push(message, receivedAt)\n })\n .catch(() => {\n // Optional diagnostic packets must never interrupt otherwise healthy speech.\n if (topic === CALL_TIMING_PROTOCOL) return\n live.get(identity)?.reset(true)\n // A browser unable to play synchronized media keeps its ordinary LiveKit audio.\n void room.localParticipant\n .setAttributes({ 'arbi.call_media': '' })\n .catch(() => undefined)\n })\n )\n }\n const removed = (participant: RemoteParticipant) => {\n live.get(participant.identity)?.reset()\n live.delete(participant.identity)\n changed()\n }\n room.on(RoomEvent.DataReceived, received)\n room.on(RoomEvent.ParticipantDisconnected, removed)\n room.on(RoomEvent.Connected, advertise)\n room.on(RoomEvent.Reconnected, advertise)\n void context\n .resume()\n .then(() => {\n advertise()\n })\n .catch(() => undefined)\n return () => {\n disposed = true\n room.off(RoomEvent.DataReceived, received)\n room.off(RoomEvent.ParticipantDisconnected, removed)\n room.off(RoomEvent.Connected, advertise)\n room.off(RoomEvent.Reconnected, advertise)\n if (room.state === ConnectionState.Connected) {\n void room.localParticipant.setAttributes({ 'arbi.call_media': '' }).catch(() => undefined)\n }\n for (const player of live.values()) player.reset()\n void context.close()\n setPlayers(new Map())\n }\n }, [enabled, key, room])\n return players\n}\n"],
5
+ "mappings": "AACA,SAAS,WAAW,gBAAgB;AACpC,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB,iBAAyC;AACnE,SAAS,qBAAqB,wBAAwB;AACtD,SAAS,iBAAiB,wBAAwB;AAClD,SAAS,sBAAsB,0BAA0B;AAElD,SAAS,aAAa,SAAkB,KAAwB;AACrE,QAAM,OAAO,eAAe;AAC5B,QAAM,CAAC,SAAS,UAAU,IAAI,SAA+C,oBAAI,IAAI,CAAC;AACtF,YAAU,MAAM;AACd,QAAI,CAAC,WAAW,CAAC,OAAO,OAAO,iBAAiB,YAAa;AAC7D,UAAM,UAAU,IAAI,aAAa;AACjC,UAAM,OAAO,oBAAI,IAA6B;AAC9C,UAAM,SAAS,oBAAI,IAA2B;AAC9C,QAAI,WAAW;AACf,UAAM,YAAY,MAAM;AACtB,UAAI,CAAC,YAAY,QAAQ,UAAU,aAAa,KAAK,UAAU,gBAAgB,WAAW;AACxF,aAAK,KAAK,iBACP,cAAc,EAAE,mBAAmB,oBAAoB,CAAC,EACxD,MAAM,MAAM,MAAS;AAAA,MAC1B;AAAA,IACF;AACA,UAAM,UAAU,MAAM;AACpB,UAAI,CAAC,SAAU,YAAW,IAAI,IAAI,IAAI,CAAC;AAAA,IACzC;AACA,UAAM,WAAW,CACf,OACA,MACA,OACA,UACG;AACH,UACG,UAAU,uBAAuB,UAAU,wBAC5C,CAAC,QACD,KAAK,WAAW,qBAAqB,MAAM;AAE3C;AACF,YAAM,aAAa,YAAY,IAAI;AACnC,YAAM,WAAW,KAAK;AACtB,YAAM,QAAQ,OAAO,IAAI,QAA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AAS;AACtC,SAAK,GAAG,UAAU,aAAa,SAAS;AACxC,SAAK,QACF,OAAO,EACP,KAAK,MAAM;AACV,gBAAU;AAAA,IACZ,CAAC,EACA,MAAM,MAAM,MAAS;AACxB,WAAO,MAAM;AACX,iBAAW;AACX,WAAK,IAAI,UAAU,cAAc,QAAQ;AACzC,WAAK,IAAI,UAAU,yBAAyB,OAAO;AACnD,WAAK,IAAI,UAAU,WAAW,SAAS;AACvC,WAAK,IAAI,UAAU,aAAa,SAAS;AACzC,UAAI,KAAK,UAAU,gBAAgB,WAAW;AAC5C,aAAK,KAAK,iBAAiB,cAAc,EAAE,mBAAmB,GAAG,CAAC,EAAE,MAAM,MAAM,MAAS;AAAA,MAC3F;AACA,iBAAW,UAAU,KAAK,OAAO,EAAG,QAAO,MAAM;AACjD,WAAK,QAAQ,MAAM;AACnB,iBAAW,oBAAI,IAAI,CAAC;AAAA,IACtB;AAAA,EACF,GAAG,CAAC,SAAS,KAAK,IAAI,CAAC;AACvB,SAAO;AACT;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.5.178",
3
+ "version": "0.5.180",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -122,8 +122,8 @@
122
122
  "build-storybook": "storybook build"
123
123
  },
124
124
  "dependencies": {
125
- "@arbidocs/client": "0.5.178",
126
- "@arbidocs/sdk": "0.5.178",
125
+ "@arbidocs/client": "0.5.180",
126
+ "@arbidocs/sdk": "0.5.180",
127
127
  "@didit-protocol/sdk-web": "0.4.0",
128
128
  "@livekit/components-react": "2.9.24",
129
129
  "@radix-ui/react-avatar": "^1.2.0",