diff --git a/shared/video-sdk/reference/release-notes/web.mdx b/shared/video-sdk/reference/release-notes/web.mdx index bbfb648db..3c9857c33 100644 --- a/shared/video-sdk/reference/release-notes/web.mdx +++ b/shared/video-sdk/reference/release-notes/web.mdx @@ -11,6 +11,43 @@ See [Supported platforms](../reference/supported-platforms). See [Known issues](known-issues). +### v4.20.0 + +v4.20.0 was released on December 8, 2023. + +#### Compatibility changes + +Prior to v4.20.0, the `IRemoteAudioTrack.setPlaybackDevice` method could be invoked on Firefox, but an echo issue would occur due to a Firefox [bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1849108). To improve the user experience, starting from v4.20.0, the SDK throws a `NOT_SUPPORTED` error when this method is called. + +If you are using the `IRemoteAudioTrack.setPlaybackDevice` method, you need to make code modifications after upgrading to v4.20.0. + +#### New features + +On certain versions of iOS devices, the app call might not automatically resume after being interrupted by a WeChat call or system phone call. To address this issue, this release introduces the `"audio-context-state-changed"` event to monitor whether the app call has been interrupted, and the `resumeAudioContext` method to restore the app call. + + +For usage details, refer to the [API documentation](https://api-ref.agora.io/en/video-sdk/web/4.x/interfaces/iagorartc.html#resumeaudiocontext). + + + +For usage details, refer to the [API documentation](https://api-ref.agora.io/en/voice-sdk/web/4.x/interfaces/iagorartc.html#resumeaudiocontext). + + +#### Improvements + +This release includes the following improvements: + +- Reduces the time it takes to join a channel when the user ID is a string. +- Supports audio sharing on the ChromeOS platform when sharing the entire screen or a Chrome tab. + +#### API changes + +**Added** + +- `resumeAudioContext` +- `AgoraRTC.on("audio-context-state-changed")` + + ### v4.19.3 v4.19.3 was released on November 2, 2023.