-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
杨帆
committed
Sep 20, 2024
1 parent
40c7092
commit df33aa9
Showing
2 changed files
with
93 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
export enum DataType { | ||
TASK_INFO = '3', | ||
VIDEO_FRAME = '101', | ||
AI_ASSISTANT = '102', | ||
SIGN_IN = '111', | ||
} | ||
|
||
export enum CameraId { | ||
FACE = '0', | ||
PTZ = '1', | ||
} | ||
|
||
export enum ReturnCode { | ||
RECORDING_STATUS = '0', | ||
VOICE_TO_TEXT = '1', | ||
AI_INFERENCE = '2', | ||
} | ||
|
||
export enum State { | ||
RECORDING = '2', | ||
COMPLETED = '3', | ||
} | ||
|
||
export interface QTResponseType { | ||
type: string | ||
cam_id?: string | ||
img?: string | ||
payload?: any | ||
ret?: string | ||
state?: string | ||
text?: string | ||
line1?: string | ||
line2?: string | ||
line3?: string | ||
err?: string | ||
} |