@cesdk/node 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/index.d.ts CHANGED
@@ -3148,6 +3148,7 @@ export declare class EditorAPI {
3148
3148
 
3149
3149
 
3150
3150
 
3151
+
3151
3152
  /**
3152
3153
  * Subscribe to changes to the editor state.
3153
3154
  * @param callback - This function is called at the end of the engine update, if the editor state has changed.
@@ -3167,6 +3168,11 @@ export declare class EditorAPI {
3167
3168
  * @returns "Transform", "Crop", "Text", "Playback", "Trim" or a custom value.
3168
3169
  */
3169
3170
  getEditMode(): EditMode;
3171
+ /**
3172
+ * If an user interaction is happening, e.g., a resize edit with a drag handle or a touch gesture.
3173
+ * @returns True if an interaction is happening.
3174
+ */
3175
+ unstable_isInteractionHappening(): boolean;
3170
3176
  /**
3171
3177
  * Get the type of cursor that should be displayed by the application.
3172
3178
  * @returns The cursor type.
@@ -3745,6 +3751,8 @@ declare interface ExportVideoOptions {
3745
3751
  h264Profile: number;
3746
3752
  h264Level: number;
3747
3753
  framerate: number;
3754
+ videoBitrate: number;
3755
+ audioBitrate: number;
3748
3756
  useTargetSize: boolean;
3749
3757
  targetWidth: number;
3750
3758
  targetHeight: number;
@@ -4506,6 +4514,16 @@ export declare type VideoExportOptions = {
4506
4514
  * @defaultValue 52
4507
4515
  */
4508
4516
  h264Level?: number;
4517
+ /**
4518
+ * The video bitrate in bits per second. Maximum bitrate is determined by h264Profile and h264Level.
4519
+ * If the value is 0, the bitrate is automatically determined by the engine.
4520
+ */
4521
+ videoBitrate?: number;
4522
+ /**
4523
+ * The audio bitrate in bits per second.
4524
+ * If the value is 0, the bitrate is automatically determined by the engine (128kbps for stereo AAC stream).
4525
+ */
4526
+ audioBitrate?: number;
4509
4527
  /**
4510
4528
  * The time offset in seconds of the scene's timeline from which the video will start.
4511
4529
  *