realtime-avatar 0.17.1 → 0.19.0
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/{chunk-Q34WDWEA.js → chunk-EWEXOGLQ.js} +1 -1
- package/dist/{chunk-4OLLYAJT.js → chunk-JNT7YHHW.js} +24 -2
- package/dist/express.d.ts +2 -2
- package/dist/express.js +2 -2
- package/dist/hono.d.ts +2 -2
- package/dist/hono.js +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/nextjs.d.ts +2 -2
- package/dist/nextjs.js +2 -2
- package/dist/{proxy-client-DmJVj18Z.d.ts → proxy-client-DpMcj6fI.d.ts} +19 -2
- package/dist/react-native.d.ts +2 -2
- package/dist/react-native.js +292 -93
- package/dist/react.d.ts +3 -3
- package/dist/react.js +291 -92
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/tanstack-start.d.ts +2 -2
- package/dist/tanstack-start.js +2 -2
- package/dist/{types-BnlnrYgN.d.ts → types-D76SpA3g.d.ts} +41 -0
- package/dist/{types-CFkiNV3f.d.ts → types-TaQCvMPh.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RealtimeAvatar, isQueued, RealtimeAvatarHttpError } from './chunk-
|
|
1
|
+
import { RealtimeAvatar, isQueued, RealtimeAvatarHttpError } from './chunk-JNT7YHHW.js';
|
|
2
2
|
|
|
3
3
|
// ../proxy/src/config.ts
|
|
4
4
|
var json = (body, status = 200) => new Response(JSON.stringify(body), {
|
|
@@ -71,9 +71,27 @@ var clipListSchema = z.array(motionIdSchema).min(1).max(32).superRefine((clips,
|
|
|
71
71
|
seen.add(clip);
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
|
+
var idleWeightSchema = z.number().min(0).max(100);
|
|
74
75
|
var idleSchema = z.strictObject({
|
|
75
76
|
clips: clipListSchema,
|
|
76
|
-
weight
|
|
77
|
+
/** Legacy aggregate weight. Mutually exclusive with member weights. */
|
|
78
|
+
weight: idleWeightSchema.optional(),
|
|
79
|
+
/** Per-member weights, including `primary`; omitted members default to 1. */
|
|
80
|
+
weights: motionRecord(idleWeightSchema).optional()
|
|
81
|
+
}).superRefine((idle, ctx) => {
|
|
82
|
+
if (idle.weights === void 0) return;
|
|
83
|
+
if (idle.weight !== void 0) {
|
|
84
|
+
ctx.addIssue({ code: "custom", path: ["weight"], message: "Use weight or weights, not both" });
|
|
85
|
+
}
|
|
86
|
+
const members = /* @__PURE__ */ new Set(["primary", ...idle.clips]);
|
|
87
|
+
for (const clip of Object.keys(idle.weights)) {
|
|
88
|
+
if (!members.has(clip)) {
|
|
89
|
+
ctx.addIssue({ code: "custom", path: ["weights", clip], message: "Unknown idle member" });
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if (![...members].some((clip) => (idle.weights?.[clip] ?? 1) > 0)) {
|
|
93
|
+
ctx.addIssue({ code: "custom", path: ["weights"], message: "Idle pool needs a positive member" });
|
|
94
|
+
}
|
|
77
95
|
});
|
|
78
96
|
var clipActionSchema = z.strictObject({
|
|
79
97
|
description: z.string().trim().min(1).max(512),
|
|
@@ -419,6 +437,7 @@ z.object({
|
|
|
419
437
|
source_kind: avatarSourceKindSchema.default("portrait"),
|
|
420
438
|
source_video_url: nullableUrlSchema.optional(),
|
|
421
439
|
stt_mode: liveKitSttModeSchema.default("server"),
|
|
440
|
+
camera: z.boolean().optional(),
|
|
422
441
|
video_cache_id: z.string().min(1).max(240).nullable().optional(),
|
|
423
442
|
voice: voiceSpecSchema.nullable().optional(),
|
|
424
443
|
voice_id: z.string().min(1).max(240).nullable().optional(),
|
|
@@ -491,6 +510,7 @@ z.object({
|
|
|
491
510
|
queueTicketId: z.string().min(1).max(160).optional(),
|
|
492
511
|
roomName: z.string().min(1).max(160).optional(),
|
|
493
512
|
sttMode: liveKitSttModeSchema.default("server"),
|
|
513
|
+
camera: z.boolean().optional(),
|
|
494
514
|
voice: voiceSpecSchema.nullable().optional(),
|
|
495
515
|
voiceId: z.string().min(1).max(240).nullable().optional(),
|
|
496
516
|
// Unbounded, for the same reason as `clip_library` on the wire schema above.
|
|
@@ -513,6 +533,7 @@ var liveKitSessionGrantSchema = z.object({
|
|
|
513
533
|
participant_identity: z.string().min(1),
|
|
514
534
|
reservation_expires_at: z.string().datetime({ offset: true }),
|
|
515
535
|
stt_mode: liveKitSttModeSchema.default("server"),
|
|
536
|
+
camera: z.boolean().optional(),
|
|
516
537
|
room_created: z.boolean().default(false),
|
|
517
538
|
dispatch_created: z.boolean().default(false),
|
|
518
539
|
join_timeout_seconds: z.number().int().nonnegative().default(0),
|
|
@@ -600,7 +621,7 @@ z.enum([
|
|
|
600
621
|
|
|
601
622
|
// ../http-client/src/client.ts
|
|
602
623
|
var DEFAULT_BASE_URL = "https://realtimeavatar.ai/api/v1";
|
|
603
|
-
var SDK_VERSION = "0.
|
|
624
|
+
var SDK_VERSION = "0.19.0";
|
|
604
625
|
var RealtimeAvatar = class {
|
|
605
626
|
#apiKey;
|
|
606
627
|
#baseUrl;
|
|
@@ -639,6 +660,7 @@ var RealtimeAvatar = class {
|
|
|
639
660
|
stt_mode: options.listen === false ? "off" : "server"
|
|
640
661
|
};
|
|
641
662
|
if (options.instructions !== void 0) body.instructions = options.instructions;
|
|
663
|
+
if (options.camera !== void 0) body.camera = options.camera;
|
|
642
664
|
if (options.context !== void 0) {
|
|
643
665
|
body.initial_context = options.context.map((m) => ({ role: m.role, content: m.content }));
|
|
644
666
|
}
|
package/dist/express.d.ts
CHANGED
package/dist/express.js
CHANGED
package/dist/hono.d.ts
CHANGED
package/dist/hono.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CallPolicy, C as CallMode, S as StartCallResult, E as EndCallOptions, A as Avatar, b as AvatarUpdate, c as AvatarSourceSwap, d as ClipLibraryDeclaration, e as ClipLibraryUpdate, L as LoopRedirect, f as ClipLibrary, g as AssetKind, h as Asset, i as ListSessionsOptions, U as UsageSessionPage, j as UsageSession, k as ListRecordingsQuery, l as ListRecordingsResponse, R as RecordingArtifact, m as RecordingAccessResponse, n as CreditBalance, T as TranscriptPayload } from './types-
|
|
2
|
-
export { o as AvatarClip, p as CallConnection, q as CallQueued, r as ClipDeclaration, s as ClipLibraryPlan, t as ClipSource, u as ContextMessage, v as EndCallReason, w as RecordingArtifactStatus, x as RecordingMode, V as VideoPolicy, y as isQueued, z as listRecordingsResponseSchema, B as recordingAccessResponseSchema, D as recordingArtifactSchema, F as recordingModeSchema } from './types-
|
|
1
|
+
import { a as CallPolicy, C as CallMode, S as StartCallResult, E as EndCallOptions, A as Avatar, b as AvatarUpdate, c as AvatarSourceSwap, d as ClipLibraryDeclaration, e as ClipLibraryUpdate, L as LoopRedirect, f as ClipLibrary, g as AssetKind, h as Asset, i as ListSessionsOptions, U as UsageSessionPage, j as UsageSession, k as ListRecordingsQuery, l as ListRecordingsResponse, R as RecordingArtifact, m as RecordingAccessResponse, n as CreditBalance, T as TranscriptPayload } from './types-D76SpA3g.js';
|
|
2
|
+
export { o as AvatarClip, p as CallConnection, q as CallQueued, r as ClipDeclaration, s as ClipLibraryPlan, t as ClipSource, u as ContextMessage, v as EndCallReason, w as RecordingArtifactStatus, x as RecordingMode, V as VideoPolicy, y as isQueued, z as listRecordingsResponseSchema, B as recordingAccessResponseSchema, D as recordingArtifactSchema, F as recordingModeSchema } from './types-D76SpA3g.js';
|
|
3
3
|
import { ConnectionHistoryResponse } from './connection-history.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
@@ -344,6 +344,7 @@ declare const clipLibraryDeclarationSchema: z.ZodObject<{
|
|
|
344
344
|
idle: z.ZodOptional<z.ZodObject<{
|
|
345
345
|
clips: z.ZodArray<z.ZodString>;
|
|
346
346
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
weights: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
|
|
347
348
|
}, z.core.$strict>>;
|
|
348
349
|
on: z.ZodOptional<z.ZodObject<{
|
|
349
350
|
userSpeechStarted: z.ZodOptional<z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, clipLibraryDeclarationSchema, isQueued, listRecordingsResponseSchema, recordingAccessResponseSchema, recordingArtifactSchema, recordingModeSchema, verifyTranscript } from './chunk-
|
|
1
|
+
export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, clipLibraryDeclarationSchema, isQueued, listRecordingsResponseSchema, recordingAccessResponseSchema, recordingArtifactSchema, recordingModeSchema, verifyTranscript } from './chunk-JNT7YHHW.js';
|
|
2
2
|
import './chunk-MCIXU6XP.js';
|
package/dist/nextjs.d.ts
CHANGED
package/dist/nextjs.js
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
+
import * as livekit_client from 'livekit-client';
|
|
2
|
+
import { ConnectionQuality, Room, Participant, Track, DisconnectReason, SendTextOptions } from 'livekit-client';
|
|
1
3
|
import { TrackReferenceOrPlaceholder, useTranscriptions, useConnectionState, LiveKitRoomProps } from '@livekit/components-react';
|
|
2
4
|
import { CSSProperties, ReactNode, ReactElement } from 'react';
|
|
3
|
-
import { ConnectionQuality, Room, Participant, Track, DisconnectReason, SendTextOptions } from 'livekit-client';
|
|
4
5
|
import { z } from 'zod';
|
|
5
6
|
|
|
7
|
+
declare function useAvatarCamera({ allowed, active }: {
|
|
8
|
+
allowed: boolean;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}): {
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
pending: boolean;
|
|
13
|
+
error: "permission_denied" | "unavailable" | null;
|
|
14
|
+
available: boolean;
|
|
15
|
+
toggle: () => Promise<void>;
|
|
16
|
+
setEnabled: (enabled: boolean) => Promise<void>;
|
|
17
|
+
publication: livekit_client.TrackPublication | undefined;
|
|
18
|
+
participant: livekit_client.LocalParticipant;
|
|
19
|
+
};
|
|
20
|
+
|
|
6
21
|
/**
|
|
7
22
|
* Wire schemas for the public Realtime Avatar API.
|
|
8
23
|
*
|
|
@@ -144,6 +159,7 @@ declare const liveKitSessionRequestSchema: z.ZodObject<{
|
|
|
144
159
|
off: "off";
|
|
145
160
|
server: "server";
|
|
146
161
|
}>>;
|
|
162
|
+
camera: z.ZodOptional<z.ZodBoolean>;
|
|
147
163
|
voice: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
148
164
|
provider: z.ZodLiteral<"cartesia">;
|
|
149
165
|
model: z.ZodDefault<z.ZodEnum<{
|
|
@@ -288,6 +304,7 @@ declare const liveKitSessionGrantSchema: z.ZodObject<{
|
|
|
288
304
|
off: "off";
|
|
289
305
|
server: "server";
|
|
290
306
|
}>>;
|
|
307
|
+
camera: z.ZodOptional<z.ZodBoolean>;
|
|
291
308
|
room_created: z.ZodDefault<z.ZodBoolean>;
|
|
292
309
|
dispatch_created: z.ZodDefault<z.ZodBoolean>;
|
|
293
310
|
join_timeout_seconds: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1717,4 +1734,4 @@ interface ProxyClientOptions {
|
|
|
1717
1734
|
}
|
|
1718
1735
|
declare function createProxyClient(options: ProxyClientOptions): AvatarSessionClient;
|
|
1719
1736
|
|
|
1720
|
-
export { type QualityCap as $, type AvatarVideoFit as A, type BehaviorSnapshot as B, type CallTranscript as C, DEFAULT_APPROACHING_END_LEAD_SECONDS as D, type EndReason as E, type FishTtsModel as F, type Governor as G, type GovernorState as H, type GraceWindowClosedEvent as I, type GraceWindowOpenEvent as J, type GraceWindowState as K, type LiveKitSessionGrant as L, type IdleWarningEvent as M, type InboundRtpCursor as N, type InboundRtpReading as O, type KnownBehaviorState as P, type LLMProvider as Q, type LLMSelection as R, type LiveKitAvatarGrantState as S, type LiveKitAvatarGrantStatus as T, type LiveKitCapacityState as U, type LiveKitConnectionStatus as V, type LiveKitSessionRequest as W, type LiveKitSessionStartResult as X, MAX_RECONNECT_ATTEMPTS as Y, MAX_SESSION_INSTRUCTIONS_CHARS as Z, type ProxyClientOptions as _, AdaptivePlayoutController as a, RECONNECT_BACKOFF_MS as a0, type RealtimeAvatarRequestOptions as a1, type RealtimeSessionApi as a2, type RealtimeSessionMedia as a3, type RealtimeSessionRoomSinks as a4, type ReconnectPolicy as a5, type ReconnectingEvent as a6, type RecoveryState as a7, type RetryStep as a8, type SessionBehavior as a9, splitCallTranscript as aA, useAvatarAdaptivePlayoutDelay as aB,
|
|
1737
|
+
export { type QualityCap as $, type AvatarVideoFit as A, type BehaviorSnapshot as B, type CallTranscript as C, DEFAULT_APPROACHING_END_LEAD_SECONDS as D, type EndReason as E, type FishTtsModel as F, type Governor as G, type GovernorState as H, type GraceWindowClosedEvent as I, type GraceWindowOpenEvent as J, type GraceWindowState as K, type LiveKitSessionGrant as L, type IdleWarningEvent as M, type InboundRtpCursor as N, type InboundRtpReading as O, type KnownBehaviorState as P, type LLMProvider as Q, type LLMSelection as R, type LiveKitAvatarGrantState as S, type LiveKitAvatarGrantStatus as T, type LiveKitCapacityState as U, type LiveKitConnectionStatus as V, type LiveKitSessionRequest as W, type LiveKitSessionStartResult as X, MAX_RECONNECT_ATTEMPTS as Y, MAX_SESSION_INSTRUCTIONS_CHARS as Z, type ProxyClientOptions as _, AdaptivePlayoutController as a, RECONNECT_BACKOFF_MS as a0, type RealtimeAvatarRequestOptions as a1, type RealtimeSessionApi as a2, type RealtimeSessionMedia as a3, type RealtimeSessionRoomSinks as a4, type ReconnectPolicy as a5, type ReconnectingEvent as a6, type RecoveryState as a7, type RetryStep as a8, type SessionBehavior as a9, splitCallTranscript as aA, useAvatarAdaptivePlayoutDelay as aB, useAvatarCamera as aC, useAvatarPlayoutDelay as aD, useAvatarQualityGovernor as aE, useCallTranscript as aF, useLiveKitAvatarGrant as aG, useLiveTrackProducing as aH, useMicLease as aI, useRealtimeSession as aJ, useReleaseMicLeaseOnTrackEnded as aK, useSessionLifecycle as aL, AvatarVideoSurface as aM, type AvatarVideoSurfaceProps as aN, type LivePlaybackKeeper as aO, MIC_LEASE_ENDED_TIMEOUT_MS as aP, type MicLease as aQ, NETWORK_QUALITY_POLICY as aR, type NetworkQualityStatus as aS, type PlayableVideoElement as aT, RealtimeAvatarCapacityError as aU, RealtimeAvatarLiveKitRoom as aV, type RealtimeAvatarLiveKitRoomProps as aW, shouldReplayPendingTurn as aX, type SessionClip as aa, type SessionClocks as ab, type SessionEndReason as ac, type SessionLifecycleApi as ad, type SessionLifecyclePhase as ae, type SessionLifecyclePhaseKind as af, SessionLifecycleRoomBridge as ag, type SessionLifecycleRoomBridgeProps as ah, type SurfaceLayers as ai, type TurnState as aj, type TurnTimeoutEvent as ak, type UseAvatarQualityGovernorInput as al, type UseLiveKitAvatarGrantInput as am, type UseRealtimeSessionInput as an, type UseSessionLifecycleInput as ao, type VoiceSpec as ap, type VoiceSpecInput as aq, capacityErrorFromBusy as ar, capacityStateFromGrant as as, createProxyClient as at, isNativeLiveTrackSubscribed as au, knownBehaviorStates as av, mapTurnState as aw, readInboundRtp as ax, sessionBehaviorSchema as ay, sessionClipSchema as az, type AdaptivePlayoutDecision as b, type AdaptivePlayoutOptions as c, type AdaptivePlayoutSample as d, type ApproachingEndEvent as e, type ApproachingEndReason as f, type AvatarConnectionDetails as g, type AvatarSessionClient as h, type CallTranscriptSegment as i, type CartesiaTtsModel as j, type ClipResult as k, type ClosingTurnResult as l, type CreditsLowEvent as m, DEFAULT_CREDITS_LOW_LEAD_SECONDS as n, DEFAULT_GOVERNOR_CONFIG as o, DEFAULT_GRACE_CEILING_SECONDS as p, DEFAULT_GRACE_WINDOW_LEAD_SECONDS as q, DEFAULT_IDLE_SECONDS as r, DEFAULT_IDLE_WARN_LEAD_SECONDS as s, DEFAULT_TURN_TIMEOUT_SECONDS as t, type EndedEvent as u, type ExtendResult as v, type FreezeReadingFn as w, type GovernorAction as x, type GovernorConfig as y, type GovernorSignal as z };
|
package/dist/react-native.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LiveKitRoomProps } from '@livekit/react-native';
|
|
2
2
|
export { AudioSession, VideoTrack, VideoTrackProps, registerGlobals } from '@livekit/react-native';
|
|
3
|
+
import { L as LiveKitSessionGrant, A as AvatarVideoFit } from './proxy-client-DpMcj6fI.js';
|
|
4
|
+
export { a as AdaptivePlayoutController, b as AdaptivePlayoutDecision, c as AdaptivePlayoutOptions, d as AdaptivePlayoutSample, e as ApproachingEndEvent, f as ApproachingEndReason, g as AvatarConnectionDetails, h as AvatarSessionClient, B as BehaviorSnapshot, C as CallTranscript, i as CallTranscriptSegment, j as CartesiaTtsModel, k as ClipResult, l as ClosingTurnResult, m as CreditsLowEvent, D as DEFAULT_APPROACHING_END_LEAD_SECONDS, n as DEFAULT_CREDITS_LOW_LEAD_SECONDS, o as DEFAULT_GOVERNOR_CONFIG, p as DEFAULT_GRACE_CEILING_SECONDS, q as DEFAULT_GRACE_WINDOW_LEAD_SECONDS, r as DEFAULT_IDLE_SECONDS, s as DEFAULT_IDLE_WARN_LEAD_SECONDS, t as DEFAULT_TURN_TIMEOUT_SECONDS, E as EndReason, u as EndedEvent, v as ExtendResult, F as FishTtsModel, w as FreezeReadingFn, G as Governor, x as GovernorAction, y as GovernorConfig, z as GovernorSignal, H as GovernorState, I as GraceWindowClosedEvent, J as GraceWindowOpenEvent, K as GraceWindowState, M as IdleWarningEvent, N as InboundRtpCursor, O as InboundRtpReading, P as KnownBehaviorState, Q as LLMProvider, R as LLMSelection, S as LiveKitAvatarGrantState, T as LiveKitAvatarGrantStatus, U as LiveKitCapacityState, V as LiveKitConnectionStatus, W as LiveKitSessionRequest, X as LiveKitSessionStartResult, Y as MAX_RECONNECT_ATTEMPTS, Z as MAX_SESSION_INSTRUCTIONS_CHARS, _ as ProxyClientOptions, $ as QualityCap, a0 as RECONNECT_BACKOFF_MS, a1 as RealtimeAvatarRequestOptions, a2 as RealtimeSessionApi, a3 as RealtimeSessionMedia, a4 as RealtimeSessionRoomSinks, a5 as ReconnectPolicy, a6 as ReconnectingEvent, a7 as RecoveryState, a8 as RetryStep, a9 as SessionBehavior, aa as SessionClip, ab as SessionClocks, ac as SessionEndReason, ad as SessionLifecycleApi, ae as SessionLifecyclePhase, af as SessionLifecyclePhaseKind, ag as SessionLifecycleRoomBridge, ah as SessionLifecycleRoomBridgeProps, ai as SurfaceLayers, aj as TurnState, ak as TurnTimeoutEvent, al as UseAvatarQualityGovernorInput, am as UseLiveKitAvatarGrantInput, an as UseRealtimeSessionInput, ao as UseSessionLifecycleInput, ap as VoiceSpec, aq as VoiceSpecInput, ar as capacityErrorFromBusy, as as capacityStateFromGrant, at as createProxyClient, au as isNativeLiveTrackSubscribed, av as knownBehaviorStates, aw as mapTurnState, ax as readInboundRtp, ay as sessionBehaviorSchema, az as sessionClipSchema, aA as splitCallTranscript, aB as useAvatarAdaptivePlayoutDelay, aC as useAvatarCamera, aD as useAvatarPlayoutDelay, aE as useAvatarQualityGovernor, aF as useCallTranscript, aG as useLiveKitAvatarGrant, aH as useLiveTrackProducing, aI as useMicLease, aJ as useRealtimeSession, aK as useReleaseMicLeaseOnTrackEnded, aL as useSessionLifecycle } from './proxy-client-DpMcj6fI.js';
|
|
3
5
|
import { ReactNode, ReactElement } from 'react';
|
|
4
|
-
import { L as LiveKitSessionGrant, A as AvatarVideoFit } from './proxy-client-DmJVj18Z.js';
|
|
5
|
-
export { a as AdaptivePlayoutController, b as AdaptivePlayoutDecision, c as AdaptivePlayoutOptions, d as AdaptivePlayoutSample, e as ApproachingEndEvent, f as ApproachingEndReason, g as AvatarConnectionDetails, h as AvatarSessionClient, B as BehaviorSnapshot, C as CallTranscript, i as CallTranscriptSegment, j as CartesiaTtsModel, k as ClipResult, l as ClosingTurnResult, m as CreditsLowEvent, D as DEFAULT_APPROACHING_END_LEAD_SECONDS, n as DEFAULT_CREDITS_LOW_LEAD_SECONDS, o as DEFAULT_GOVERNOR_CONFIG, p as DEFAULT_GRACE_CEILING_SECONDS, q as DEFAULT_GRACE_WINDOW_LEAD_SECONDS, r as DEFAULT_IDLE_SECONDS, s as DEFAULT_IDLE_WARN_LEAD_SECONDS, t as DEFAULT_TURN_TIMEOUT_SECONDS, E as EndReason, u as EndedEvent, v as ExtendResult, F as FishTtsModel, w as FreezeReadingFn, G as Governor, x as GovernorAction, y as GovernorConfig, z as GovernorSignal, H as GovernorState, I as GraceWindowClosedEvent, J as GraceWindowOpenEvent, K as GraceWindowState, M as IdleWarningEvent, N as InboundRtpCursor, O as InboundRtpReading, P as KnownBehaviorState, Q as LLMProvider, R as LLMSelection, S as LiveKitAvatarGrantState, T as LiveKitAvatarGrantStatus, U as LiveKitCapacityState, V as LiveKitConnectionStatus, W as LiveKitSessionRequest, X as LiveKitSessionStartResult, Y as MAX_RECONNECT_ATTEMPTS, Z as MAX_SESSION_INSTRUCTIONS_CHARS, _ as ProxyClientOptions, $ as QualityCap, a0 as RECONNECT_BACKOFF_MS, a1 as RealtimeAvatarRequestOptions, a2 as RealtimeSessionApi, a3 as RealtimeSessionMedia, a4 as RealtimeSessionRoomSinks, a5 as ReconnectPolicy, a6 as ReconnectingEvent, a7 as RecoveryState, a8 as RetryStep, a9 as SessionBehavior, aa as SessionClip, ab as SessionClocks, ac as SessionEndReason, ad as SessionLifecycleApi, ae as SessionLifecyclePhase, af as SessionLifecyclePhaseKind, ag as SessionLifecycleRoomBridge, ah as SessionLifecycleRoomBridgeProps, ai as SurfaceLayers, aj as TurnState, ak as TurnTimeoutEvent, al as UseAvatarQualityGovernorInput, am as UseLiveKitAvatarGrantInput, an as UseRealtimeSessionInput, ao as UseSessionLifecycleInput, ap as VoiceSpec, aq as VoiceSpecInput, ar as capacityErrorFromBusy, as as capacityStateFromGrant, at as createProxyClient, au as isNativeLiveTrackSubscribed, av as knownBehaviorStates, aw as mapTurnState, ax as readInboundRtp, ay as sessionBehaviorSchema, az as sessionClipSchema, aA as splitCallTranscript, aB as useAvatarAdaptivePlayoutDelay, aC as useAvatarPlayoutDelay, aD as useAvatarQualityGovernor, aE as useCallTranscript, aF as useLiveKitAvatarGrant, aG as useLiveTrackProducing, aH as useMicLease, aI as useRealtimeSession, aJ as useReleaseMicLeaseOnTrackEnded, aK as useSessionLifecycle } from './proxy-client-DmJVj18Z.js';
|
|
6
6
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
7
7
|
export { useChat, useConnectionState, useLocalParticipant, useRoomContext, useTrackToggle, useTranscriptions, useVoiceAssistant } from '@livekit/components-react';
|
|
8
8
|
export { D as DEFAULT_AVATAR_PLAYOUT_DELAY_SECONDS } from './playout-delay-DWOc8iCl.js';
|