@streamoji/aitwin 0.3.3 → 0.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/README.md +1 -1
- package/dist/aitwin.cjs +3 -3
- package/dist/aitwin.js +1202 -1110
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -125,6 +125,10 @@ export declare type AvatarTtsLipsyncController = {
|
|
|
125
125
|
subscribe: (listener: () => void) => () => void;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
+
declare type AvatarTtsLipsyncControllerOptions = {
|
|
129
|
+
onLipsyncDebug?: (snapshot: RealtimeLipsyncDebugSnapshot) => void;
|
|
130
|
+
};
|
|
131
|
+
|
|
128
132
|
export declare type AvatarTtsLipsyncStatus = "idle" | "loading" | "speaking" | "done" | "error";
|
|
129
133
|
|
|
130
134
|
export declare type AvatarTtsSpeakOptions = {
|
|
@@ -137,7 +141,7 @@ export declare type AvatarTtsSpeakOptions = {
|
|
|
137
141
|
|
|
138
142
|
export declare function buildVoiceWebSocketUrl(options: RealtimeVoiceOptions): string;
|
|
139
143
|
|
|
140
|
-
export declare function createAvatarTtsLipsyncController(onStatus: (status: AvatarTtsLipsyncStatus) => void, apiBase?: string): AvatarTtsLipsyncController;
|
|
144
|
+
export declare function createAvatarTtsLipsyncController(onStatus: (status: AvatarTtsLipsyncStatus) => void, apiBase?: string, options?: AvatarTtsLipsyncControllerOptions): AvatarTtsLipsyncController;
|
|
141
145
|
|
|
142
146
|
export declare function createRealtimeVoiceLipsyncController(onStatus: (status: AvatarTtsLipsyncStatus) => void, initialOptions?: RealtimeVoiceOptions): RealtimeVoiceLipsyncController;
|
|
143
147
|
|