@cesdk/engine 1.35.0 → 1.36.0-rc.1
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/assets/core/{cesdk-v1.35.0-46BMFTP2.data → cesdk-v1.36.0-rc.1-XHZXX7DG.data} +0 -0
- package/assets/core/{cesdk-v1.35.0-PCEVZVGD.wasm → cesdk-v1.36.0-rc.1-ZB2MHPWO.wasm} +0 -0
- package/assets/core/{worker-host-v1.35.0.js → worker-host-v1.36.0-rc.1.js} +1 -1
- package/index.d.ts +18 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3218,6 +3218,7 @@ export declare class EditorAPI {
|
|
|
3218
3218
|
|
|
3219
3219
|
|
|
3220
3220
|
|
|
3221
|
+
|
|
3221
3222
|
/**
|
|
3222
3223
|
* Subscribe to changes to the editor state.
|
|
3223
3224
|
* @param callback - This function is called at the end of the engine update, if the editor state has changed.
|
|
@@ -3237,6 +3238,11 @@ export declare class EditorAPI {
|
|
|
3237
3238
|
* @returns "Transform", "Crop", "Text", "Playback", "Trim" or a custom value.
|
|
3238
3239
|
*/
|
|
3239
3240
|
getEditMode(): EditMode;
|
|
3241
|
+
/**
|
|
3242
|
+
* If an user interaction is happening, e.g., a resize edit with a drag handle or a touch gesture.
|
|
3243
|
+
* @returns True if an interaction is happening.
|
|
3244
|
+
*/
|
|
3245
|
+
unstable_isInteractionHappening(): boolean;
|
|
3240
3246
|
/**
|
|
3241
3247
|
* Get the type of cursor that should be displayed by the application.
|
|
3242
3248
|
* @returns The cursor type.
|
|
@@ -3815,6 +3821,8 @@ declare interface ExportVideoOptions {
|
|
|
3815
3821
|
h264Profile: number;
|
|
3816
3822
|
h264Level: number;
|
|
3817
3823
|
framerate: number;
|
|
3824
|
+
videoBitrate: number;
|
|
3825
|
+
audioBitrate: number;
|
|
3818
3826
|
useTargetSize: boolean;
|
|
3819
3827
|
targetWidth: number;
|
|
3820
3828
|
targetHeight: number;
|
|
@@ -4723,6 +4731,16 @@ export declare type VideoExportOptions = {
|
|
|
4723
4731
|
* @defaultValue 52
|
|
4724
4732
|
*/
|
|
4725
4733
|
h264Level?: number;
|
|
4734
|
+
/**
|
|
4735
|
+
* The video bitrate in bits per second. Maximum bitrate is determined by h264Profile and h264Level.
|
|
4736
|
+
* If the value is 0, the bitrate is automatically determined by the engine.
|
|
4737
|
+
*/
|
|
4738
|
+
videoBitrate?: number;
|
|
4739
|
+
/**
|
|
4740
|
+
* The audio bitrate in bits per second.
|
|
4741
|
+
* If the value is 0, the bitrate is automatically determined by the engine (128kbps for stereo AAC stream).
|
|
4742
|
+
*/
|
|
4743
|
+
audioBitrate?: number;
|
|
4726
4744
|
/**
|
|
4727
4745
|
* The time offset in seconds of the scene's timeline from which the video will start.
|
|
4728
4746
|
*
|