Revised the descriptions of the `<group>` and `<html>` elements in the JSX documentation to improve clarity. The `<group>` element's internal node description was updated for better understanding, while the `<html>` element's usage examples were modified to reflect the correct structure when used as a scene. Additionally, clarified the constraints related to scene roots in the documentation, ensuring users have accurate information on the properties and behaviors of these elements.
Updated multiple files to transition from using `<scene>` elements to `<rect>` elements with the `scene` property, promoting rectangle geometries to mount roots. This change enhances the JSX API by clarifying the role of scenes and ensuring consistency across examples and documentation. Additionally, modified related documentation to reflect the new usage and constraints of the `scene` property.
Updated the image encoder to track entities with timeline clocks, ensuring that local time is consistently updated for both the main stage and clock entities. This change improves synchronization during playback and enhances the overall functionality of the image encoding process.
Revised the render documentation to remove unnecessary details about the encode window and added a note about using `dapi screenshot` for progress monitoring. This update enhances clarity and ensures users have accurate information regarding the rendering process and configuration options.
Modified the captions documentation to clarify the default styles and color slots for various presets. The changes include a simplification of the descriptions for the "classic" and "whisper" presets, enhancing user understanding of their intended use cases. This update ensures that the documentation accurately represents the current functionality of the `<captions />` component.
Removed optional start and end parameters from the MediaTranscribeRequest type and the mediaTranscribe function, streamlining the transcription process. Updated related documentation to reflect these changes, ensuring a clearer understanding of the transcription command and its usage.
Updated the HtmlHost class to expose the setSize method publicly, allowing external components to adjust size directly. Introduced a new PendingHtmlHost type to manage HTML hosts awaiting size initialization. Refactored the registerHtmlHost method to include a paint parameter, improving the handling of HTML hosts during rendering. Added a flushConnectedHtmlHosts method to process pending hosts efficiently, ensuring accurate size updates when connected. Updated documentation to reflect these changes.
Refactored the downsampleAudio function to improve peak calculation efficiency and accuracy. Updated the logic to handle peak accumulation more effectively, ensuring better audio quality in downsampled outputs. Additionally, expanded the captions documentation to clarify the relationship between timing properties and transcript trimming, enhancing user understanding of captioning mechanics.
Updated the captions documentation to include new properties: `start`, `end`, `sourceIn`, and `sourceOut`. These properties allow for trimming specific sections of the transcript, enhancing the functionality and clarity of captioning in relation to media timing.
Introduced a new `<shaderPaint>` element that applies a WGSL fragment shader to the media paint directly below it in the paint stack. Implemented support for shader uniforms and updated the rendering logic to handle shader paints in the engine. Enhanced the API to include shader-related methods and types, ensuring seamless integration with existing media elements. Updated documentation and examples to demonstrate the new shader capabilities, improving user guidance and showcasing practical implementations.
Added width and height properties to various video and text elements across examples and documentation files to ensure consistent sizing. This change enhances the clarity of the examples and improves the user experience by providing explicit dimensions for media elements.
Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.