Skip to content

Commit

Permalink
CSD-54930
Browse files Browse the repository at this point in the history
  • Loading branch information
Suri539 committed Jul 15, 2024
1 parent b699d58 commit c359428
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dita/RTC-NG/API/api_irtcengine_statechanged.dita
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@
<pd>
<p>设备状态:
<ul>
<li>0:设备插入,但未使用。</li>
<li>0:设备就绪。</li>
<li>1:设备正在使用。</li>
<li>3:设备已插入。</li>
<li>8:设备被拔出。</li>
</ul></p>
</pd>
Expand Down
4 changes: 4 additions & 0 deletions dita/RTC-NG/API/enum_mediadevicestatetype.dita
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<pt><ph keyref="MEDIA_DEVICE_STATE_DISABLED"/></pt>
<pd>2: 设备被禁用。</pd>
</plentry>
<plentry>
<pt><ph keyref="MEDIA_DEVICE_STATE_PLUGGED_IN"/></pt>
<pd>3: 设备已插入。</pd>
</plentry>
<plentry>
<pt><ph keyref="MEDIA_DEVICE_STATE_NOT_PRESENT"/></pt>
<pd>4: 没有此设备。</pd>
Expand Down
7 changes: 7 additions & 0 deletions dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -9728,6 +9728,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="MEDIA_DEVICE_STATE_PLUGGED_IN">
<topicmeta>
<keywords>
<keyword>MEDIA_DEVICE_STATE_PLUGGED_IN</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="MEDIA_DEVICE_STATE_NOT_PRESENT">
<topicmeta>
<keywords>
Expand Down
2 changes: 2 additions & 0 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
<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> 状态报告。为进一步区分设备状态,自 v4.4.0 起,SDK 会通过新增的 <codeph><apiname keyref="MEDIA_DEVICE_STATE_PLUGGED_IN"/></codeph> 报告设备已插入。</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

0 comments on commit c359428

Please sign in to comment.