From f8e138e51301b7f05e5ea1eb4aefc4e6544327d2 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 15 Jul 2024 18:11:05 +0800 Subject: [PATCH] add --- markdown/RTC 4.x/release-notes/en-US/native/release_mac_ng.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/markdown/RTC 4.x/release-notes/en-US/native/release_mac_ng.md b/markdown/RTC 4.x/release-notes/en-US/native/release_mac_ng.md index c0a492bf9c7..e05df42a56f 100644 --- a/markdown/RTC 4.x/release-notes/en-US/native/release_mac_ng.md +++ b/markdown/RTC 4.x/release-notes/en-US/native/release_mac_ng.md @@ -19,6 +19,8 @@ This version includes optimizations to some features, including changes to SDK b 1. This version renames the `receiveMetadata` callback to `didMetadataReceived` and removes the `data` and `timeStamp` parameters. You can get metadata-related information, including `timeStamp` (timestamp of the sent data), `uid` (user ID), and `channelId` (channel name) through the newly-added `metadata` parameter. +1. Before v4.4.0, when a device was plugged in or in an idle state, the SDK only reported the status code `0` through the `state` parameter in the `stateChanged` callback. As of v4.4.0, a new status code `3` is added to report that a device is plugged in. + #### New Features 1. **Alpha Transparency Effects**