Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Jul 15, 2024
1 parent 2e55d53 commit 9330430
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
<li props="android">该版本删除了 <codeph><apiname keyref="onMetadataReceived"/></codeph> 回调中的 <codeph>buffer</codeph>、<codeph>uid</codeph>、<codeph>timeStampMs</codeph> 参数,你可以通过新增的 <codeph>metadata</codeph> 参数来获取 Metadata 的相关信息,包括 <codeph>timeStampMs</codeph>(发送数据的时间戳)、<codeph>uid</codeph>(用户 ID)、<codeph>channelId</codeph>(源频道名称)等。</li>
<li props="cpp">该版本修改了 <xref keyref="ExternalVideoFrame"/> 中的以下成员名称:
<ul>
<li><parmname>d3d11_texture_2d</parmname> 更名为 <parmname>d3d11Texture2d</parmname>。</li>
<li><parmname>texture_slice_index</parmname> 更名为 <parmname>textureSliceIndex</parmname>。</li>
<li><parmname>metadata_buffer</parmname> 更名为 <parmname>metadataBuffer</parmname>。</li>
<li><parmname>metadata_size</parmname> 更名为 <parmname>metadataSize</parmname>。</li>
<li><codeph>d3d11_texture_2d</codeph> 更名为 <codeph>d3d11Texture2d</codeph>。</li>
<li><codeph>texture_slice_index</codeph> 更名为 <codeph>textureSliceIndex</codeph>。</li>
<li><codeph>metadata_buffer</codeph> 更名为 <codeph>metadataBuffer</codeph>。</li>
<li><codeph>metadata_size</codeph> 更名为 <codeph>metadataSize</codeph>。</li>
</ul></li>
</ol>
</body>
Expand Down
8 changes: 4 additions & 4 deletions en-US/dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
<li props="android">This version removes the <codeph>buffer</codeph>, <codeph>uid</codeph>, and <codeph>timeStampMs</codeph> parameters of the <codeph><apiname keyref="onMetadataReceived"/></codeph> callback. You can get metadata-related information, including <codeph>timeStampMs</codeph> (timestamp of the sent data), <codeph>uid</codeph> (user ID), and <codeph>channelId</codeph> (channel name) through the newly-added <codeph>metadata</codeph> parameter.</li>
<li props="cpp">This version renames the following members in <xref keyref="ExternalVideoFrame"/>:
<ul>
<li><parmname>d3d11_texture_2d</parmname> is renamed to <parmname>d3d11Texture2d</parmname>.</li>
<li><parmname>texture_slice_index</parmname> is renamed to <parmname>textureSliceIndex</parmname>.</li>
<li><parmname>metadata_buffer</parmname> is renamed to <parmname>metadataBuffer</parmname>.</li>
<li><parmname>metadata_size</parmname> is renamed to <parmname>metadataSize</parmname>.</li>
<li><codeph>d3d11_texture_2d</codeph> is renamed to <codeph>d3d11Texture2d</codeph>.</li>
<li><codeph>texture_slice_index</codeph> is renamed to <codeph>textureSliceIndex</codeph>.</li>
<li><codeph>metadata_buffer</codeph> is renamed to <codeph>metadataBuffer</codeph>.</li>
<li><codeph>metadata_size</codeph> is renamed to <codeph>metadataSize</codeph>.</li>
</ul>
</li>
</ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ This version includes optimizations to some features, including changes to SDK b
| `onExtensionStopped` | `onExtensionStoppedWithContext` |
| `onExtensionError` | `onExtensionErrorWithContext` |

2. This version renames the following members in `ExternalVideoFrame` :
2. This version renames the following members in `ExternalVideoFrame`:

- **d3d11_texture_2d** is renamed to **d3d11Texture2d**.
- **texture_slice_index** is renamed to **textureSliceIndex**.
- **metadata_buffer** is renamed to **metadataBuffer**.
- **metadata_size** is renamed to **metadataSize**.
- `d3d11_texture_2d` is renamed to `d3d11Texture2d`.
- `texture_slice_index` is renamed to `textureSliceIndex`.
- `metadata_buffer` is renamed to `metadataBuffer`.
- `metadata_size` is renamed to `metadataSize`.

#### New Features

Expand Down

0 comments on commit 9330430

Please sign in to comment.