fix: 提交一个声明文件

This commit is contained in:
wangzhongjie 2025-05-09 09:52:34 +08:00
parent a567923ebc
commit 52134fc261

View File

@ -53,8 +53,8 @@ declare namespace record {
endRecordVideo(id:number): RtspResult; endRecordVideo(id:number): RtspResult;
getVideoSnapshot(context:object,uri:string,fileName:string,dir:string,needBase64:boolean,callback: AsyncCallback<RtspResult>): void; getVideoSnapshot(context:object,uri:string,fileName:string,dir:string,needBase64:boolean,callback: AsyncCallback<RtspResult>): void;
getVideoSnapshot(context:object,uri:string,fileName:string,dir:string): Promise<RtspResult>; getVideoSnapshot(context:object,uri:string,fileName:string,dir:string): Promise<RtspResult>;
detectVideoSnapshotSize(uri:string,fileName:string,callback: AsyncCallback<RtspResult>): void; detectVideoSnapshotSize(uri:string,fileName:string,needBase64:boolean,callback: AsyncCallback<RtspResult>): void;
detectVideoSnapshotSize(uri:string,fileName:string): Promise<RtspResult>; detectVideoSnapshotSize(uri:string,fileName:string,needBase64:boolean): Promise<RtspResult>;
} }
} }
export default record; export default record;