We couldn’t be happier to roll out the release of Agora Web SDK version 4.23.0, an update brimming with innovative features and powerful enhancements to transform your real-time communication experiences. This version is crafted to deliver unparalleled performance, greater flexibility, and seamless integration, empowering your applications to achieve new heights.
Key Updates
-
Compatibility Changes
- The calculation of freezeRate in RemoteVideoTrackStats has been updated to show the freeze rate from the last second, providing a clearer real-time view of momentary video freezes. For cumulative session data, you can now use totalFreezeTime or totalDuration.
-
New Features
-
PeerConnection State Callback for Local Media
- Stay informed about your media connection status with the new peerconnection-state-change event. This feature enhances monitoring of WebRTC RTCPeerConnection states, especially under poor network conditions.
-
Sharing the Current Tab by Default
- Screen sharing just got easier! The new preferCurrentTab parameter in ScreenVideoTrackInitConfig allows you to share the current browser tab by default when creating a screen-sharing track.
-
PeerConnection State Callback for Local Media
-
Improvements
-
Enhanced Media Reconnection Strategy
- Experience improved reconnection rates and media login success, especially in enterprise networks with firewalls. Reach out to the Agora support team to enable this new reconnection strategy.
-
Upgraded Virtual Background Algorithm
- The Virtual Background extension (v2.0.0) now features a sharper face edge and more stable, high-quality video images for a better visual experience.
-
Reduced Package Size
- The Plan-B feature, previously part of the ESM-bundle package, is now separated into an independent service module. Use tree shaking to integrate based on your needs.
-
Performance Optimizations
- Faster Login Times: Optimized login duration under complex networks.
- Improved VP9 Layer Switching: Reduced latency and smoother video performance. (Note: Safari does not support VP9 SVC.)
-
Enhanced Media Reconnection Strategy
- Various Bug Fixes and API Changes
For detailed information on these updates, please refer to the release notes.
SDK Download: NPM 4.23.0
Take Advantage of the Update
This release is all about making your applications faster, smarter, and more user-friendly. We encourage you to upgrade to this latest version to take advantage of these new features and improvements. If you have any questions or need assistance with the upgrade process, please do not hesitate to contact our support team.
Thank you for choosing Agora!
The Agora Team