v2.1.0
An enhancement release for higher plugin extensibility and more robust recovery behavior.
Highlights
- Further optimized the plugin system for stronger extensibility limits.
- Added
onCanvasFramehook for frame-level visual enhancements. - Renamed
onBeforeVideoPlaytoonBeforeAttachStream. - Fixed a reconnection bug where retries stopped after the first retry failure.
- Added missing critical user-facing events.
- Removed redundant documentation.
Detailed Changes
Plugin System Enhancements
- Improved extension boundaries for more complex business orchestration.
- Increased predictability when combining multiple plugin capabilities.
- Strengthened maintainability for long-term plugin ecosystem growth.
New onCanvasFrame Hook
- Added a dedicated hook in the canvas frame processing chain.
- Enables watermarking, region annotation, and post-processing workflows.
- Makes visual enhancement logic easier to encapsulate as plugins.
Hook Naming Update
- Renamed
onBeforeVideoPlay→onBeforeAttachStream. - Provides more accurate semantics for the real trigger timing.
Stability Fix (Reconnection)
- Fixed the issue where reconnection stopped after the first failed retry.
- Improved resilience and continuity in weak-network scenarios.
Event Coverage Improvements
- Added key user-side events for better observability and control.
- Improves integration for analytics, alerts, and UX state management.
Documentation Cleanup
- Removed redundant/duplicated docs.
- Improved focus and readability of the documentation set.
Compatibility & Migration Notes
- Breaking rename in hooks: replace
onBeforeVideoPlaywithonBeforeAttachStream. - Recommended regression checks after upgrade: plugin pipeline, canvas hooks, reconnection retries, and key event listeners.