diff --git a/ohos/dts/@ohos.rtsprecord.d.ts b/ohos/dts/@ohos.rtsprecord.d.ts index ec3254e..5bc13c8 100644 --- a/ohos/dts/@ohos.rtsprecord.d.ts +++ b/ohos/dts/@ohos.rtsprecord.d.ts @@ -53,8 +53,8 @@ declare namespace record { endRecordVideo(id:number): RtspResult; getVideoSnapshot(context:object,uri:string,fileName:string,dir:string,needBase64:boolean,callback: AsyncCallback): void; getVideoSnapshot(context:object,uri:string,fileName:string,dir:string): Promise; - detectVideoSnapshotSize(uri:string,fileName:string,callback: AsyncCallback): void; - detectVideoSnapshotSize(uri:string,fileName:string): Promise; + detectVideoSnapshotSize(uri:string,fileName:string,needBase64:boolean,callback: AsyncCallback): void; + detectVideoSnapshotSize(uri:string,fileName:string,needBase64:boolean): Promise; } } export default record;