Refactor artplayerPluginAsr: Enhance audio capture and processing
- Introduced gainNode for audio output management.
- Added mediaStream and mediaStreamSource for fallback audio capture.
- Refactored startCapture and stopCapture functions for better clarity and error handling.
- Improved audio source setup with a dedicated function for capturing audio from video.
- Ensured proper disconnection of audio nodes and cleanup of resources on destroy.
feat: enhance ASR plugin with improved subtitle handling and styling
fix: rename autoClearTimer to hideTimer for consistency in ASR plugin
Update asr.js
feat: refactor ASR plugin to improve audio chunk handling and WebSocket management
Update asr.js
fix: rename autoClearTimeout to cleanupTimeout for consistency
Update asr.js
feat: refactor ASR handling and improve WebSocket management
Update index.js
feat: add append and clear functions to enhance audio chunk handling
Update asr.js
Update asr.js
feat: release version 2.0.0 of artplayer-plugin-asr
- Implemented core functionality for audio recording using AudioWorklet.
- Added support for configurable audio capture interval and sample rate.
- Introduced WAV encoding for recorded audio chunks.
- Created a new plugin structure with proper TypeScript definitions.
- Added legacy support for older environments.
- Updated package.json with necessary metadata and export configurations.
- Included comprehensive inline documentation for better maintainability.
The build timestamp in Artplayer has been updated to "2024-08-15 23:17:21". This commit ensures that the build timestamp accurately reflects the latest changes made to the codebase.
* chore: Bump artplayer-plugin-danmuku version to 5.1.0
* chore: Update danmuku plugin with new mount option
* chore: Update danmuku plugin with new mount option
* chore: Update danmuku plugin with new mount option
* chore: Update danmuku plugin with new mount option
* chore: Update danmuku plugin with new mount option
* chore: Update danmuku plugin with new mount option
* chore: Refactor getDanmuTop function to handle additional cases
* chore: Refactor getDanmuTop function to handle additional cases
* chore: Update danmuku plugin with new mount option
* chore: Update danmuku plugin with new mount option
* chore: Refactor danmuku plugin to always create a new Setting instance
* Refactor danmuku plugin to always create a new Setting instance
* Refactor danmuku plugin to always create a new Setting instance
* Update danmuku.js
* Update danmuku.js
* Refactor danmuku plugin to include a new Setting instance
* Refactor danmuku plugin to include a new Setting instance
* Refactor danmuku plugin styles for better alignment and spacing
* Refactor danmuku plugin styles for better alignment and spacing
* Refactor danmuku plugin styles for better alignment and spacing
* Refactor danmuku plugin styles for better alignment and spacing
* Refactor danmuku plugin styles for better alignment and spacing
* chore: Update package.json files
* Refactor danmuku plugin to remove unnecessary whitespace in the setting template
* chore: Remove ESLint configuration files and update npm dependencies
* chore: Update ESLint configuration to disable console warnings and fix unused variable warnings
* chore: Update ESLint configuration to fix quotes rule
* Update package.json
* Update package.json
* Update setting.js
* chore: Compress CSS code in build script
* chore: Update build script to compress JavaScript code
* chore: Update build script to compress JavaScript code
* chore: Refactor setting.js to improve code organization and remove unused variables
* chore: Add isHover flag to Control component for better control hiding behavior
* chore: Update Control component to use $bottom instead of $controls for better control hiding behavior
* Update package.json
* Update package.json
* Update package.json
* chore: Update lerna.json to use independent versioning and yarn as npm client
* refactor: Update Danmuku class to support configurable modes and visibility
* refactor: Update Danmuku styles for better visibility and configurability
* feat: Update font weight in Danmuku styles for better readability
* refactor: Update Danmuku class to support configurable modes and visibility
* refactor: Add opacity, area, font, and speed sliders to Danmuku settings
* refactor: Initialize sliders for opacity, area, font, and speed in Danmuku settings
* feat: Add slider UI for opacity, area, and speed in Danmuku settings
* feat: Update slider styles in Danmuku settings for better visibility and configurability
* refactor: Improve Danmuku settings UI for better visibility and configurability
* refactor: Improve Danmuku settings UI for better visibility and configurability
* refactor: Update slider styles in Danmuku settings for better visibility and configurability
* refactor: Update margin slider initialization in Danmuku settings
* refactor: Update slider styles and initialization in Danmuku settings
* refactor: Update Danmuku class to support configurable visibility
* refactor: Update Danmuku class to support configurable visibility
* refactor: Update Danmuku class to support configurable visibility
* refactor: Update Danmuku class to support configurable visibility
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Improve Danmuku settings UI for better visibility and configurability
* add lock
* refactor: Add lock and unlock methods to Danmuku settings
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* Update artplayer-plugin-danmuku.d.ts
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings event listeners
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability
* refactor: Update Danmuku settings UI for better visibility and configurability