@d-id/client-sdk 1.1.51 → 1.1.52
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.
|
@@ -39,6 +39,18 @@ export type StreamingManager<T extends CreateStreamOptions | CreateSessionV2Opti
|
|
|
39
39
|
* supported only for livekit manager
|
|
40
40
|
*/
|
|
41
41
|
unpublishMicrophoneStream?(): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Publish a camera video stream to the LiveKit room.
|
|
44
|
+
* Can be called after connection to enable vision.
|
|
45
|
+
* supported only for livekit manager
|
|
46
|
+
*/
|
|
47
|
+
publishCameraStream?(stream: MediaStream): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Unpublish the currently published camera stream.
|
|
50
|
+
* Can be called after connection to disable vision.
|
|
51
|
+
* supported only for livekit manager
|
|
52
|
+
*/
|
|
53
|
+
unpublishCameraStream?(): Promise<void>;
|
|
42
54
|
/**
|
|
43
55
|
* Session identifier information, should be returned in the body of all streaming requests
|
|
44
56
|
*/
|
|
@@ -28,12 +28,16 @@ export declare enum AgentStatus {
|
|
|
28
28
|
Rejected = "rejected",
|
|
29
29
|
Ready = "ready"
|
|
30
30
|
}
|
|
31
|
+
export interface Vision {
|
|
32
|
+
enabled: boolean;
|
|
33
|
+
}
|
|
31
34
|
export interface Agent {
|
|
32
35
|
id: string;
|
|
33
36
|
username?: string;
|
|
34
37
|
presenter: Presenter;
|
|
35
38
|
llm?: LLM;
|
|
36
39
|
knowledge?: Knowledge;
|
|
40
|
+
vision?: Vision;
|
|
37
41
|
use_case?: string;
|
|
38
42
|
tags?: string[];
|
|
39
43
|
chats?: number;
|
|
@@ -196,6 +196,18 @@ export interface AgentManager {
|
|
|
196
196
|
* supported only for livekit manager
|
|
197
197
|
*/
|
|
198
198
|
unpublishMicrophoneStream?: () => Promise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* Publish a camera video stream to the LiveKit room.
|
|
201
|
+
* Can be called after connection to enable vision.
|
|
202
|
+
* supported only for livekit manager
|
|
203
|
+
*/
|
|
204
|
+
publishCameraStream?: (stream: MediaStream) => Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Unpublish the currently published camera stream.
|
|
207
|
+
* Can be called after connection to disable vision.
|
|
208
|
+
* supported only for livekit manager
|
|
209
|
+
*/
|
|
210
|
+
unpublishCameraStream?: () => Promise<void>;
|
|
199
211
|
/**
|
|
200
212
|
* Method to send a chat message to existing chat with the agent
|
|
201
213
|
* @param messages
|