@vvfx/sdk 0.0.0-alpha.30 → 0.0.0-alpha.32
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/dist/index.cjs +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,10 @@ type ExportMediaInitOptions = {
|
|
|
109
109
|
* ffmpeg 转码是否开启多线程,默认 false,确保环境支持 SharedArrayBuffer
|
|
110
110
|
*/
|
|
111
111
|
multiThreading?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* 是否输出 buffer,默认 false
|
|
114
|
+
*/
|
|
115
|
+
isOutputBuffer?: boolean;
|
|
112
116
|
};
|
|
113
117
|
type ExportMediaItemOptions = {
|
|
114
118
|
/**
|
|
@@ -373,7 +377,7 @@ type SDKEvents = {
|
|
|
373
377
|
}];
|
|
374
378
|
'exportProgress': [progress?: number];
|
|
375
379
|
'exportDone': [item: ExportMediaItemOptions | undefined, success: boolean, buffer?: FileBuffer];
|
|
376
|
-
'exportComplete': [success: boolean];
|
|
380
|
+
'exportComplete': [success: boolean, buffers?: FileBuffer[]];
|
|
377
381
|
'sdkConfigChange': [preSDKConfig: SDKConfig, curSDKConfig: SDKConfig];
|
|
378
382
|
};
|
|
379
383
|
declare class SDK {
|