From d2e72c0d3a47c26fe677760be8288238027ca3a7 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 15 Jul 2024 17:56:25 +0800 Subject: [PATCH 1/3] Update release_notes.dita --- en-US/dita/RTC-NG/release/release_notes.dita | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en-US/dita/RTC-NG/release/release_notes.dita b/en-US/dita/RTC-NG/release/release_notes.dita index b617ace93f2..52e30bd7385 100644 --- a/en-US/dita/RTC-NG/release/release_notes.dita +++ b/en-US/dita/RTC-NG/release/release_notes.dita @@ -48,6 +48,8 @@
  • metadata_buffer is renamed to metadataBuffer.
  • metadata_size is renamed to metadataSize.
  • +
  • Before v4.4.0, when a device was plugged in or in an idle state, the SDK only reported (0). As of v4.4.0, a new status code (3) is added to report that a device is plugged in.
  • +
  • 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 callback。As of v4.4.0, a new status code 3 is added to report that a device is plugged in.
  • 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 2/3] 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** From fda39ec9b5f49eaa11d6d803a2ad0adc1280d92e Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 15 Jul 2024 18:19:46 +0800 Subject: [PATCH 3/3] Update release_windows_ng.md --- .../RTC 4.x/release-notes/en-US/native/release_windows_ng.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/markdown/RTC 4.x/release-notes/en-US/native/release_windows_ng.md b/markdown/RTC 4.x/release-notes/en-US/native/release_windows_ng.md index cc2fffb28ee..1a0df465db5 100644 --- a/markdown/RTC 4.x/release-notes/en-US/native/release_windows_ng.md +++ b/markdown/RTC 4.x/release-notes/en-US/native/release_windows_ng.md @@ -23,6 +23,8 @@ This version includes optimizations to some features, including changes to SDK b - `texture_slice_index` is renamed to `textureSliceIndex`. - `metadata_buffer` is renamed to `metadataBuffer`. - `metadata_size` is renamed to `metadataSize`. + +3. Before v4.4.0, when a device was plugged in or in an idle state, the SDK only reported `MEDIA_DEVICE_STATE_IDLE` (0). As of v4.4.0, a new status code `MEDIA_DEVICE_STATE_PLUGGED_IN` (3) is added to report that a device is plugged in. #### New Features