@vivix-ai/ivi-frontend-sdk 0.3.9 → 0.3.10
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/README.md +43 -0
- package/dist/index.cjs +416 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -3
- package/dist/index.d.ts +35 -3
- package/dist/index.js +416 -53
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReceiveSessionSourceReadyPayload, IviStream, IviConversationItem, IviRealtimeSessionConfig, IviStageComposition, IviTrack, IviSourceAsset, ReceiveSessionSourceFailedPayload, IviConversationItemContent, ReceiveSessionEndedEvent, ParsedIviEvent, IviRealtimeResponseCreateParams, ReceiveConversationItemAddedEvent, ReceiveConversationItemDoneEvent, ReceiveResponseCreatedEvent, IviClient, IviClientConfig } from '@vivix-ai/ivi-sdk-ts';
|
|
2
|
+
import { Tracer, Context, Attributes, Span } from '@opentelemetry/api';
|
|
2
3
|
import { LiveKitBrowserTransportConfig } from '@vivix-ai/ivi-sdk-ts/transports/livekit-browser';
|
|
3
4
|
import { WebSocketTransportConfig } from '@vivix-ai/ivi-sdk-ts/transports/websocket';
|
|
4
5
|
import { ReactNode, CSSProperties, ReactElement, VideoHTMLAttributes, ImgHTMLAttributes } from 'react';
|
|
@@ -9,6 +10,27 @@ type IviSourcePlayback = NonNullable<ReceiveSessionSourceReadyPayload["playback"
|
|
|
9
10
|
type IviSourcePlaybackTrtc = NonNullable<IviSourcePlayback["trtc"]>;
|
|
10
11
|
type IviStreamStatus = IviStream["status"];
|
|
11
12
|
|
|
13
|
+
interface IviFrontendTelemetryOptions {
|
|
14
|
+
/**
|
|
15
|
+
* OpenTelemetry tracer。未传入时使用全局 `trace.getTracer("@vivix-ai/ivi-frontend-sdk")`。
|
|
16
|
+
*
|
|
17
|
+
* SDK 只依赖 `@opentelemetry/api`,不会内置 exporter/provider;未配置 provider 时这些 span 会是 no-op。
|
|
18
|
+
*/
|
|
19
|
+
tracer?: Tracer;
|
|
20
|
+
/**
|
|
21
|
+
* 外部调用链的父 context。通常由业务点击、建会话或上层 SDK span 内传入 `context.active()`。
|
|
22
|
+
*/
|
|
23
|
+
context?: Context;
|
|
24
|
+
/**
|
|
25
|
+
* 追加到每个 frontend SDK span 上的低基数字段。不要放 token、密钥、完整 payload 或用户文本。
|
|
26
|
+
*/
|
|
27
|
+
attributes?: Attributes;
|
|
28
|
+
}
|
|
29
|
+
interface IviTelemetrySpanHandle {
|
|
30
|
+
span: Span;
|
|
31
|
+
context: Context;
|
|
32
|
+
}
|
|
33
|
+
|
|
12
34
|
type IviRuntimeStatus = "idle" | "connecting" | "syncing" | "running" | "stopped";
|
|
13
35
|
interface IviRuntimeState {
|
|
14
36
|
status: IviRuntimeStatus;
|
|
@@ -146,6 +168,10 @@ interface IviRuntimeCoordinatorConfig {
|
|
|
146
168
|
* TRTC SDK AIDenoiser 降噪配置。默认开启;传 false 可关闭。
|
|
147
169
|
*/
|
|
148
170
|
trtcAIDenoiser?: boolean | IviRuntimeTrtcAIDenoiserOptions;
|
|
171
|
+
/**
|
|
172
|
+
* OpenTelemetry 埋点配置;SDK 只创建 span,不负责配置 provider/exporter。
|
|
173
|
+
*/
|
|
174
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
149
175
|
}
|
|
150
176
|
/**
|
|
151
177
|
* 用户输入触发回复链路配置。
|
|
@@ -221,10 +247,11 @@ declare class TrtcSourceManager {
|
|
|
221
247
|
private readonly onLog?;
|
|
222
248
|
private readonly onTrtcEvent?;
|
|
223
249
|
private readonly aiDenoiser?;
|
|
250
|
+
private readonly telemetry?;
|
|
224
251
|
private readonly sessions;
|
|
225
252
|
private readonly sourceSessionKeys;
|
|
226
253
|
private readonly listeners;
|
|
227
|
-
constructor(onLog?: IviRuntimeLogCallback | undefined, onTrtcEvent?: IviRuntimeTrtcEventListener | undefined, aiDenoiser?: (boolean | IviRuntimeTrtcAIDenoiserOptions) | undefined);
|
|
254
|
+
constructor(onLog?: IviRuntimeLogCallback | undefined, onTrtcEvent?: IviRuntimeTrtcEventListener | undefined, aiDenoiser?: (boolean | IviRuntimeTrtcAIDenoiserOptions) | undefined, telemetry?: IviFrontendTelemetryOptions | undefined);
|
|
228
255
|
/**
|
|
229
256
|
* 将 runtime 当前 sources 与 TRTC 会话池对齐:
|
|
230
257
|
* - 对 ready + trtc 的 source 进行 upsert(必要时建立连接)
|
|
@@ -341,9 +368,10 @@ type LivekitSourceListener = (snapshot: LivekitSourceSnapshot) => void;
|
|
|
341
368
|
declare class LivekitSourceManager {
|
|
342
369
|
private readonly onLog?;
|
|
343
370
|
private readonly onRemoteVideoAvailable?;
|
|
371
|
+
private readonly telemetry?;
|
|
344
372
|
private readonly sessions;
|
|
345
373
|
private readonly listeners;
|
|
346
|
-
constructor(onLog?: IviRuntimeLogCallback | undefined, onRemoteVideoAvailable?: ((sourceId: string) => void) | undefined);
|
|
374
|
+
constructor(onLog?: IviRuntimeLogCallback | undefined, onRemoteVideoAvailable?: ((sourceId: string) => void) | undefined, telemetry?: IviFrontendTelemetryOptions | undefined);
|
|
347
375
|
/**
|
|
348
376
|
* 与 runtime 当前 sources 对齐:
|
|
349
377
|
* - 对 ready + livekit 的 source 进行 upsert(必要时建立连接);
|
|
@@ -471,6 +499,7 @@ declare class IviRuntimeCoordinator {
|
|
|
471
499
|
*/
|
|
472
500
|
stop(): void;
|
|
473
501
|
getState(): IviRuntimeState;
|
|
502
|
+
getTelemetryOptions(): IviRuntimeCoordinatorConfig["telemetry"];
|
|
474
503
|
onStateChange(listener: (state: IviRuntimeState) => void): () => void;
|
|
475
504
|
onEvent(listener: IviRuntimeEventListener): () => void;
|
|
476
505
|
onTrtcEvent(listener: IviRuntimeTrtcEventListener): () => void;
|
|
@@ -591,6 +620,7 @@ interface IviCreateIVISessionHttpOptions {
|
|
|
591
620
|
fetch?: typeof fetch;
|
|
592
621
|
credentials?: RequestCredentials;
|
|
593
622
|
signal?: AbortSignal;
|
|
623
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
594
624
|
}
|
|
595
625
|
interface IviPrebuiltPlayback {
|
|
596
626
|
sourceId: string;
|
|
@@ -626,6 +656,7 @@ interface IviRuntimeFromSessionOptions {
|
|
|
626
656
|
clientConfig?: Omit<IviClientConfig, "transport">;
|
|
627
657
|
runtimeConfig?: IviRuntimeCoordinatorConfig;
|
|
628
658
|
websocket?: IviRuntimeWebSocketOptions;
|
|
659
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
629
660
|
}
|
|
630
661
|
interface IviSessionRuntime {
|
|
631
662
|
session: IviCreateIVISessionResult;
|
|
@@ -650,6 +681,7 @@ declare function normalizeCreateIVISessionResponse(responseBody: unknown, reques
|
|
|
650
681
|
type IviFrontendClientConfig = IviClientConfig;
|
|
651
682
|
interface IviFrontendSdkConfig {
|
|
652
683
|
http?: IviCreateIVISessionHttpOptions;
|
|
684
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
653
685
|
}
|
|
654
686
|
declare class IviFrontendSdk {
|
|
655
687
|
private readonly config;
|
|
@@ -952,4 +984,4 @@ declare function useIviSessionRuntime(config: UseIviSessionRuntimeConfig): UseIv
|
|
|
952
984
|
|
|
953
985
|
declare function useIviStageView(): IviStageViewContextValue;
|
|
954
986
|
|
|
955
|
-
export { DEFAULT_HIDE_COMPLETED_SUBTITLE_AFTER_MS, EMPTY_RUNTIME_STATE, IVILivekitPlayer, type IVILivekitPlayerProps, IVIStageView, type IVIStageViewProps, IVISubtitleOverlay, type IVISubtitleOverlayProps, type IVISubtitleOverlayStyle, IVITrackSlot, type IVITrackSlotProps, IVITrtcPlayer, type IVITrtcPlayerProps, type IviCompletedSubtitleDecision, type IviCompletedSubtitleDecisionResult, IviCreateIVISessionError, type IviCreateIVISessionHttpOptions, type IviCreateIVISessionPrebuiltCharacter, type IviCreateIVISessionPrebuiltStream, type IviCreateIVISessionRequest, type IviCreateIVISessionResult, type IviCreateIVISessionRuntimeOptions, type IviCreateSessionStreamType, type IviFrontendClientConfig, IviFrontendSdk, type IviFrontendSdkConfig, type IviManagedRuntimeConfig, type IviManagedRuntimeLogCallback, type IviManagedRuntimeLogEntry, type IviManagedRuntimeLogLevel, type IviManagedRuntimeLogSource, type IviPrebuiltPlayback, type IviRuntimeBootstrapSource, type IviRuntimeBootstrapViewState, type IviRuntimeConversationItem, type IviRuntimeConversationLifecycle, type IviRuntimeConversationStatus, IviRuntimeCoordinator, type IviRuntimeCoordinatorConfig, IviRuntimeDispatcher, type IviRuntimeDispatcherConfig, type IviRuntimeEventListener, type IviRuntimeFromSessionOptions, type IviRuntimeLogCallback, type IviRuntimeLogEntry, type IviRuntimeLogLevel, type IviRuntimeSource, type IviRuntimeSourceOrigin, type IviRuntimeSourcePreloadState, type IviRuntimeState, type IviRuntimeStatus, type IviRuntimeStream, type IviRuntimeTrtcAIDenoiserMode, type IviRuntimeTrtcAIDenoiserOptions, type IviRuntimeTrtcEvent, type IviRuntimeTrtcEventListener, type IviRuntimeTrtcEventType, type IviRuntimeUserTextToResponseCallbacks, type IviRuntimeUserTextToResponseOptions, type IviRuntimeUserTextToResponseResult, type IviRuntimeWebSocketOptions, type IviSessionRuntime, type IviSessionRuntimeHookStatus, type IviSourcePlaybackLivekit, type IviSourcePlaybackLivekitDescriptor, type IviStageSlotBinding, type IviStageViewContextValue, type IviSubtitleCompletedContext, type IviSubtitleCompletedHandler, type IviSubtitleCompletedReason, type IviSubtitleItem, type IviSubtitleRole, type IviSubtitleSource, type IviUseSubtitlesOptions, LivekitSourceManager, TrtcSourceManager, type UseIviSessionRuntimeConfig, type UseIviSessionRuntimeResult, createIVISession, createIVISessionRuntime, createRuntimeFromSession, isLivekitSourcePlayback, isReadyLivekitRuntimeSource, isSameLivekitConfig, normalizeCreateIVISessionResponse, toCpCreateIVISessionRequestBody, useIviSessionRuntime, useIviStageView, useIviSubtitles, useManagedIviRuntime, useRuntimeState };
|
|
987
|
+
export { DEFAULT_HIDE_COMPLETED_SUBTITLE_AFTER_MS, EMPTY_RUNTIME_STATE, IVILivekitPlayer, type IVILivekitPlayerProps, IVIStageView, type IVIStageViewProps, IVISubtitleOverlay, type IVISubtitleOverlayProps, type IVISubtitleOverlayStyle, IVITrackSlot, type IVITrackSlotProps, IVITrtcPlayer, type IVITrtcPlayerProps, type IviCompletedSubtitleDecision, type IviCompletedSubtitleDecisionResult, IviCreateIVISessionError, type IviCreateIVISessionHttpOptions, type IviCreateIVISessionPrebuiltCharacter, type IviCreateIVISessionPrebuiltStream, type IviCreateIVISessionRequest, type IviCreateIVISessionResult, type IviCreateIVISessionRuntimeOptions, type IviCreateSessionStreamType, type IviFrontendClientConfig, IviFrontendSdk, type IviFrontendSdkConfig, type IviFrontendTelemetryOptions, type IviManagedRuntimeConfig, type IviManagedRuntimeLogCallback, type IviManagedRuntimeLogEntry, type IviManagedRuntimeLogLevel, type IviManagedRuntimeLogSource, type IviPrebuiltPlayback, type IviRuntimeBootstrapSource, type IviRuntimeBootstrapViewState, type IviRuntimeConversationItem, type IviRuntimeConversationLifecycle, type IviRuntimeConversationStatus, IviRuntimeCoordinator, type IviRuntimeCoordinatorConfig, IviRuntimeDispatcher, type IviRuntimeDispatcherConfig, type IviRuntimeEventListener, type IviRuntimeFromSessionOptions, type IviRuntimeLogCallback, type IviRuntimeLogEntry, type IviRuntimeLogLevel, type IviRuntimeSource, type IviRuntimeSourceOrigin, type IviRuntimeSourcePreloadState, type IviRuntimeState, type IviRuntimeStatus, type IviRuntimeStream, type IviRuntimeTrtcAIDenoiserMode, type IviRuntimeTrtcAIDenoiserOptions, type IviRuntimeTrtcEvent, type IviRuntimeTrtcEventListener, type IviRuntimeTrtcEventType, type IviRuntimeUserTextToResponseCallbacks, type IviRuntimeUserTextToResponseOptions, type IviRuntimeUserTextToResponseResult, type IviRuntimeWebSocketOptions, type IviSessionRuntime, type IviSessionRuntimeHookStatus, type IviSourcePlaybackLivekit, type IviSourcePlaybackLivekitDescriptor, type IviStageSlotBinding, type IviStageViewContextValue, type IviSubtitleCompletedContext, type IviSubtitleCompletedHandler, type IviSubtitleCompletedReason, type IviSubtitleItem, type IviSubtitleRole, type IviSubtitleSource, type IviTelemetrySpanHandle, type IviUseSubtitlesOptions, LivekitSourceManager, TrtcSourceManager, type UseIviSessionRuntimeConfig, type UseIviSessionRuntimeResult, createIVISession, createIVISessionRuntime, createRuntimeFromSession, isLivekitSourcePlayback, isReadyLivekitRuntimeSource, isSameLivekitConfig, normalizeCreateIVISessionResponse, toCpCreateIVISessionRequestBody, useIviSessionRuntime, useIviStageView, useIviSubtitles, useManagedIviRuntime, useRuntimeState };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReceiveSessionSourceReadyPayload, IviStream, IviConversationItem, IviRealtimeSessionConfig, IviStageComposition, IviTrack, IviSourceAsset, ReceiveSessionSourceFailedPayload, IviConversationItemContent, ReceiveSessionEndedEvent, ParsedIviEvent, IviRealtimeResponseCreateParams, ReceiveConversationItemAddedEvent, ReceiveConversationItemDoneEvent, ReceiveResponseCreatedEvent, IviClient, IviClientConfig } from '@vivix-ai/ivi-sdk-ts';
|
|
2
|
+
import { Tracer, Context, Attributes, Span } from '@opentelemetry/api';
|
|
2
3
|
import { LiveKitBrowserTransportConfig } from '@vivix-ai/ivi-sdk-ts/transports/livekit-browser';
|
|
3
4
|
import { WebSocketTransportConfig } from '@vivix-ai/ivi-sdk-ts/transports/websocket';
|
|
4
5
|
import { ReactNode, CSSProperties, ReactElement, VideoHTMLAttributes, ImgHTMLAttributes } from 'react';
|
|
@@ -9,6 +10,27 @@ type IviSourcePlayback = NonNullable<ReceiveSessionSourceReadyPayload["playback"
|
|
|
9
10
|
type IviSourcePlaybackTrtc = NonNullable<IviSourcePlayback["trtc"]>;
|
|
10
11
|
type IviStreamStatus = IviStream["status"];
|
|
11
12
|
|
|
13
|
+
interface IviFrontendTelemetryOptions {
|
|
14
|
+
/**
|
|
15
|
+
* OpenTelemetry tracer。未传入时使用全局 `trace.getTracer("@vivix-ai/ivi-frontend-sdk")`。
|
|
16
|
+
*
|
|
17
|
+
* SDK 只依赖 `@opentelemetry/api`,不会内置 exporter/provider;未配置 provider 时这些 span 会是 no-op。
|
|
18
|
+
*/
|
|
19
|
+
tracer?: Tracer;
|
|
20
|
+
/**
|
|
21
|
+
* 外部调用链的父 context。通常由业务点击、建会话或上层 SDK span 内传入 `context.active()`。
|
|
22
|
+
*/
|
|
23
|
+
context?: Context;
|
|
24
|
+
/**
|
|
25
|
+
* 追加到每个 frontend SDK span 上的低基数字段。不要放 token、密钥、完整 payload 或用户文本。
|
|
26
|
+
*/
|
|
27
|
+
attributes?: Attributes;
|
|
28
|
+
}
|
|
29
|
+
interface IviTelemetrySpanHandle {
|
|
30
|
+
span: Span;
|
|
31
|
+
context: Context;
|
|
32
|
+
}
|
|
33
|
+
|
|
12
34
|
type IviRuntimeStatus = "idle" | "connecting" | "syncing" | "running" | "stopped";
|
|
13
35
|
interface IviRuntimeState {
|
|
14
36
|
status: IviRuntimeStatus;
|
|
@@ -146,6 +168,10 @@ interface IviRuntimeCoordinatorConfig {
|
|
|
146
168
|
* TRTC SDK AIDenoiser 降噪配置。默认开启;传 false 可关闭。
|
|
147
169
|
*/
|
|
148
170
|
trtcAIDenoiser?: boolean | IviRuntimeTrtcAIDenoiserOptions;
|
|
171
|
+
/**
|
|
172
|
+
* OpenTelemetry 埋点配置;SDK 只创建 span,不负责配置 provider/exporter。
|
|
173
|
+
*/
|
|
174
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
149
175
|
}
|
|
150
176
|
/**
|
|
151
177
|
* 用户输入触发回复链路配置。
|
|
@@ -221,10 +247,11 @@ declare class TrtcSourceManager {
|
|
|
221
247
|
private readonly onLog?;
|
|
222
248
|
private readonly onTrtcEvent?;
|
|
223
249
|
private readonly aiDenoiser?;
|
|
250
|
+
private readonly telemetry?;
|
|
224
251
|
private readonly sessions;
|
|
225
252
|
private readonly sourceSessionKeys;
|
|
226
253
|
private readonly listeners;
|
|
227
|
-
constructor(onLog?: IviRuntimeLogCallback | undefined, onTrtcEvent?: IviRuntimeTrtcEventListener | undefined, aiDenoiser?: (boolean | IviRuntimeTrtcAIDenoiserOptions) | undefined);
|
|
254
|
+
constructor(onLog?: IviRuntimeLogCallback | undefined, onTrtcEvent?: IviRuntimeTrtcEventListener | undefined, aiDenoiser?: (boolean | IviRuntimeTrtcAIDenoiserOptions) | undefined, telemetry?: IviFrontendTelemetryOptions | undefined);
|
|
228
255
|
/**
|
|
229
256
|
* 将 runtime 当前 sources 与 TRTC 会话池对齐:
|
|
230
257
|
* - 对 ready + trtc 的 source 进行 upsert(必要时建立连接)
|
|
@@ -341,9 +368,10 @@ type LivekitSourceListener = (snapshot: LivekitSourceSnapshot) => void;
|
|
|
341
368
|
declare class LivekitSourceManager {
|
|
342
369
|
private readonly onLog?;
|
|
343
370
|
private readonly onRemoteVideoAvailable?;
|
|
371
|
+
private readonly telemetry?;
|
|
344
372
|
private readonly sessions;
|
|
345
373
|
private readonly listeners;
|
|
346
|
-
constructor(onLog?: IviRuntimeLogCallback | undefined, onRemoteVideoAvailable?: ((sourceId: string) => void) | undefined);
|
|
374
|
+
constructor(onLog?: IviRuntimeLogCallback | undefined, onRemoteVideoAvailable?: ((sourceId: string) => void) | undefined, telemetry?: IviFrontendTelemetryOptions | undefined);
|
|
347
375
|
/**
|
|
348
376
|
* 与 runtime 当前 sources 对齐:
|
|
349
377
|
* - 对 ready + livekit 的 source 进行 upsert(必要时建立连接);
|
|
@@ -471,6 +499,7 @@ declare class IviRuntimeCoordinator {
|
|
|
471
499
|
*/
|
|
472
500
|
stop(): void;
|
|
473
501
|
getState(): IviRuntimeState;
|
|
502
|
+
getTelemetryOptions(): IviRuntimeCoordinatorConfig["telemetry"];
|
|
474
503
|
onStateChange(listener: (state: IviRuntimeState) => void): () => void;
|
|
475
504
|
onEvent(listener: IviRuntimeEventListener): () => void;
|
|
476
505
|
onTrtcEvent(listener: IviRuntimeTrtcEventListener): () => void;
|
|
@@ -591,6 +620,7 @@ interface IviCreateIVISessionHttpOptions {
|
|
|
591
620
|
fetch?: typeof fetch;
|
|
592
621
|
credentials?: RequestCredentials;
|
|
593
622
|
signal?: AbortSignal;
|
|
623
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
594
624
|
}
|
|
595
625
|
interface IviPrebuiltPlayback {
|
|
596
626
|
sourceId: string;
|
|
@@ -626,6 +656,7 @@ interface IviRuntimeFromSessionOptions {
|
|
|
626
656
|
clientConfig?: Omit<IviClientConfig, "transport">;
|
|
627
657
|
runtimeConfig?: IviRuntimeCoordinatorConfig;
|
|
628
658
|
websocket?: IviRuntimeWebSocketOptions;
|
|
659
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
629
660
|
}
|
|
630
661
|
interface IviSessionRuntime {
|
|
631
662
|
session: IviCreateIVISessionResult;
|
|
@@ -650,6 +681,7 @@ declare function normalizeCreateIVISessionResponse(responseBody: unknown, reques
|
|
|
650
681
|
type IviFrontendClientConfig = IviClientConfig;
|
|
651
682
|
interface IviFrontendSdkConfig {
|
|
652
683
|
http?: IviCreateIVISessionHttpOptions;
|
|
684
|
+
telemetry?: IviFrontendTelemetryOptions;
|
|
653
685
|
}
|
|
654
686
|
declare class IviFrontendSdk {
|
|
655
687
|
private readonly config;
|
|
@@ -952,4 +984,4 @@ declare function useIviSessionRuntime(config: UseIviSessionRuntimeConfig): UseIv
|
|
|
952
984
|
|
|
953
985
|
declare function useIviStageView(): IviStageViewContextValue;
|
|
954
986
|
|
|
955
|
-
export { DEFAULT_HIDE_COMPLETED_SUBTITLE_AFTER_MS, EMPTY_RUNTIME_STATE, IVILivekitPlayer, type IVILivekitPlayerProps, IVIStageView, type IVIStageViewProps, IVISubtitleOverlay, type IVISubtitleOverlayProps, type IVISubtitleOverlayStyle, IVITrackSlot, type IVITrackSlotProps, IVITrtcPlayer, type IVITrtcPlayerProps, type IviCompletedSubtitleDecision, type IviCompletedSubtitleDecisionResult, IviCreateIVISessionError, type IviCreateIVISessionHttpOptions, type IviCreateIVISessionPrebuiltCharacter, type IviCreateIVISessionPrebuiltStream, type IviCreateIVISessionRequest, type IviCreateIVISessionResult, type IviCreateIVISessionRuntimeOptions, type IviCreateSessionStreamType, type IviFrontendClientConfig, IviFrontendSdk, type IviFrontendSdkConfig, type IviManagedRuntimeConfig, type IviManagedRuntimeLogCallback, type IviManagedRuntimeLogEntry, type IviManagedRuntimeLogLevel, type IviManagedRuntimeLogSource, type IviPrebuiltPlayback, type IviRuntimeBootstrapSource, type IviRuntimeBootstrapViewState, type IviRuntimeConversationItem, type IviRuntimeConversationLifecycle, type IviRuntimeConversationStatus, IviRuntimeCoordinator, type IviRuntimeCoordinatorConfig, IviRuntimeDispatcher, type IviRuntimeDispatcherConfig, type IviRuntimeEventListener, type IviRuntimeFromSessionOptions, type IviRuntimeLogCallback, type IviRuntimeLogEntry, type IviRuntimeLogLevel, type IviRuntimeSource, type IviRuntimeSourceOrigin, type IviRuntimeSourcePreloadState, type IviRuntimeState, type IviRuntimeStatus, type IviRuntimeStream, type IviRuntimeTrtcAIDenoiserMode, type IviRuntimeTrtcAIDenoiserOptions, type IviRuntimeTrtcEvent, type IviRuntimeTrtcEventListener, type IviRuntimeTrtcEventType, type IviRuntimeUserTextToResponseCallbacks, type IviRuntimeUserTextToResponseOptions, type IviRuntimeUserTextToResponseResult, type IviRuntimeWebSocketOptions, type IviSessionRuntime, type IviSessionRuntimeHookStatus, type IviSourcePlaybackLivekit, type IviSourcePlaybackLivekitDescriptor, type IviStageSlotBinding, type IviStageViewContextValue, type IviSubtitleCompletedContext, type IviSubtitleCompletedHandler, type IviSubtitleCompletedReason, type IviSubtitleItem, type IviSubtitleRole, type IviSubtitleSource, type IviUseSubtitlesOptions, LivekitSourceManager, TrtcSourceManager, type UseIviSessionRuntimeConfig, type UseIviSessionRuntimeResult, createIVISession, createIVISessionRuntime, createRuntimeFromSession, isLivekitSourcePlayback, isReadyLivekitRuntimeSource, isSameLivekitConfig, normalizeCreateIVISessionResponse, toCpCreateIVISessionRequestBody, useIviSessionRuntime, useIviStageView, useIviSubtitles, useManagedIviRuntime, useRuntimeState };
|
|
987
|
+
export { DEFAULT_HIDE_COMPLETED_SUBTITLE_AFTER_MS, EMPTY_RUNTIME_STATE, IVILivekitPlayer, type IVILivekitPlayerProps, IVIStageView, type IVIStageViewProps, IVISubtitleOverlay, type IVISubtitleOverlayProps, type IVISubtitleOverlayStyle, IVITrackSlot, type IVITrackSlotProps, IVITrtcPlayer, type IVITrtcPlayerProps, type IviCompletedSubtitleDecision, type IviCompletedSubtitleDecisionResult, IviCreateIVISessionError, type IviCreateIVISessionHttpOptions, type IviCreateIVISessionPrebuiltCharacter, type IviCreateIVISessionPrebuiltStream, type IviCreateIVISessionRequest, type IviCreateIVISessionResult, type IviCreateIVISessionRuntimeOptions, type IviCreateSessionStreamType, type IviFrontendClientConfig, IviFrontendSdk, type IviFrontendSdkConfig, type IviFrontendTelemetryOptions, type IviManagedRuntimeConfig, type IviManagedRuntimeLogCallback, type IviManagedRuntimeLogEntry, type IviManagedRuntimeLogLevel, type IviManagedRuntimeLogSource, type IviPrebuiltPlayback, type IviRuntimeBootstrapSource, type IviRuntimeBootstrapViewState, type IviRuntimeConversationItem, type IviRuntimeConversationLifecycle, type IviRuntimeConversationStatus, IviRuntimeCoordinator, type IviRuntimeCoordinatorConfig, IviRuntimeDispatcher, type IviRuntimeDispatcherConfig, type IviRuntimeEventListener, type IviRuntimeFromSessionOptions, type IviRuntimeLogCallback, type IviRuntimeLogEntry, type IviRuntimeLogLevel, type IviRuntimeSource, type IviRuntimeSourceOrigin, type IviRuntimeSourcePreloadState, type IviRuntimeState, type IviRuntimeStatus, type IviRuntimeStream, type IviRuntimeTrtcAIDenoiserMode, type IviRuntimeTrtcAIDenoiserOptions, type IviRuntimeTrtcEvent, type IviRuntimeTrtcEventListener, type IviRuntimeTrtcEventType, type IviRuntimeUserTextToResponseCallbacks, type IviRuntimeUserTextToResponseOptions, type IviRuntimeUserTextToResponseResult, type IviRuntimeWebSocketOptions, type IviSessionRuntime, type IviSessionRuntimeHookStatus, type IviSourcePlaybackLivekit, type IviSourcePlaybackLivekitDescriptor, type IviStageSlotBinding, type IviStageViewContextValue, type IviSubtitleCompletedContext, type IviSubtitleCompletedHandler, type IviSubtitleCompletedReason, type IviSubtitleItem, type IviSubtitleRole, type IviSubtitleSource, type IviTelemetrySpanHandle, type IviUseSubtitlesOptions, LivekitSourceManager, TrtcSourceManager, type UseIviSessionRuntimeConfig, type UseIviSessionRuntimeResult, createIVISession, createIVISessionRuntime, createRuntimeFromSession, isLivekitSourcePlayback, isReadyLivekitRuntimeSource, isSameLivekitConfig, normalizeCreateIVISessionResponse, toCpCreateIVISessionRequestBody, useIviSessionRuntime, useIviStageView, useIviSubtitles, useManagedIviRuntime, useRuntimeState };
|