Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/rtc ng/4.4.0 #3709

Merged
merged 4 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_irtcengine_statechanged.dita
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<ul>
<li>0:设备就绪。</li>
<li>1:设备正在使用。</li>
<li>3:设备已插入。</li>
<li props="hide">3:设备已插入。</li>
<li>8:设备被拔出。</li>
</ul></p>
</pd>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/enum_mediadevicestatetype.dita
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<pt><ph keyref="MEDIA_DEVICE_STATE_DISABLED"/></pt>
<pd>2: 设备被禁用。</pd>
</plentry>
<plentry>
<plentry props="hide">
<pt><ph keyref="MEDIA_DEVICE_STATE_PLUGGED_IN"/></pt>
<pd>3: 设备已插入。</pd>
</plentry>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -9721,7 +9721,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="MEDIA_DEVICE_STATE_DISABLED">
<keydef keys="MEDIA_DEVICE_STATE_DISABLED" props="hide">
<topicmeta>
<keywords>
<keyword>MEDIA_DEVICE_STATE_DISABLED</keyword>
Expand Down
2 changes: 0 additions & 2 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
<li><codeph>metadata_buffer</codeph> 更名为 <codeph>metadataBuffer</codeph>。</li>
<li><codeph>metadata_size</codeph> 更名为 <codeph>metadataSize</codeph>。</li>
</ul></li>
<li props="windows">在 v4.4.0 之前,音视频设备已插入、已就绪均会通过 <codeph><apiname keyref="MEDIA_DEVICE_STATE_TYPE"/></codeph> 中的 <codeph><apiname keyref="MEDIA_DEVICE_STATE_IDLE"/></codeph>(0)状态报告。为进一步区分设备状态,自 v4.4.0 起,SDK 会通过新增的 <codeph><apiname keyref="MEDIA_DEVICE_STATE_PLUGGED_IN"/></codeph>(3)报告设备已插入。</li>
<li props="mac">在 v4.4.0 之前,音视频设备已插入、已就绪均会通过 <codeph><apiname keyref="stateChanged"/></codeph> 回调中的 <codeph>state</codeph> 参数报告状态码 <codeph>0</codeph>。为进一步区分设备状态,自 v4.4.0 起,SDK 会通过新增的状态码 <codeph>3</codeph> 报告设备已插入。</li>
</ol>
</body>
</topic>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -9721,7 +9721,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="MEDIA_DEVICE_STATE_DISABLED">
<keydef keys="MEDIA_DEVICE_STATE_DISABLED" props="hide">
<topicmeta>
<keywords>
<keyword>MEDIA_DEVICE_STATE_DISABLED</keyword>
Expand Down
2 changes: 0 additions & 2 deletions markdown/RTC 4.x/release-notes/en-US/native/release_mac_ng.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ 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**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ This version includes optimizations to some features, including changes to SDK b
- `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

Expand Down
Loading