-
Notifications
You must be signed in to change notification settings - Fork 19
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
New YiCAT updates #3770
New YiCAT updates #3770
Conversation
<pd>The recording object to be destroyed.</pd> | ||
<pt props="android cpp apple framework">mediaRecorder</pt> | ||
<pt props="hmos">recorder</pt> | ||
<pd>待销毁的 <xref keyref="IMediaRecorder" /> 对象。</pd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中文,是没同步么
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
刚从链接里删掉这个文件,没点同步。。。
en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita
Outdated
Show resolved
Hide resolved
@@ -77,8 +77,8 @@ | |||
<p>You can call this method either before or after joining a channel.</p> | |||
</section> | |||
<section id="restriction" deliveryTarget="details"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对于鸿蒙 调用限制这个应该还有“无。”?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的我在鸿蒙分支上改一下一起进
@@ -21,7 +21,7 @@ | |||
</plentry> | |||
<plentry> | |||
<pt><ph keyref="AUDIO_SCENARIO_CHORUS"/></pt> | |||
<pd>7: Real-time chorus scenario, where users have good network conditions and require ultra-low latency.<note type="attention" props="android hmos" id="chorus">Before using this enumeration, you need to call <xref keyref="getAudioDeviceInfo"/> to see whether the audio device supports ultra-low-latency capture and playback. To experience ultra-low latency, you need to ensure that your audio device supports ultra-low latency (<parmname>isLowLatencyAudioSupported</parmname> = <codeph><ph keyref="true"/></codeph>).</note> | |||
<pd>7: Real-time chorus scenario, where users have good network conditions and require ultra-low latency.<note type="attention" props="android" id="chorus">Before using this enumeration, you need to call <xref keyref="getAudioDeviceInfo"/> to see whether the audio device supports ultra-low-latency capture and playback. To experience ultra-low latency, you need to ensure that your audio device supports ultra-low latency (<parmname>isLowLatencyAudioSupported</parmname> = <codeph><ph keyref="true"/></codeph>).</note> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原文就有 x = y 的这种新颖表达方式,英文里是不是一般不这么说?比如:set x to y 之类的写法可能更规范
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个不是你自己去设置的,是sdk返回的,需要sdk的isLowLatencyAudioSupported为true时,才代表你的设备支持ultra low latency
@@ -45,15 +45,15 @@ | |||
</note> </section> | |||
<section id="timing" deliveryTarget="details"> | |||
<title>Call timing</title> | |||
<p>Call this method before joining a channel. If you need to change the audio route after joining a channel, call <xref keyref="setEnableSpeakerphone"/>.</p> | |||
<p>Call this method before joining a channel. <ph props="android cpp apple framework">If you need to change the audio route after joining a channel, call <xref keyref="setEnableSpeakerphone"/>.</ph></p> | |||
</section> | |||
<section id="restriction" deliveryTarget="details"> | |||
<title>Restrictions</title> | |||
<p>None.</p> | |||
</section> | |||
<section id="related" deliveryTarget="details"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
相关回调在 hmos 为只有标题的空白 section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<li>Call this method after receiving the <xref keyref="onUserJoined"/> callback to set the subscription options for the specified remote user's video stream.</li> | ||
<li>Call the <xref keyref="muteRemoteVideoStream"/> method to resume subscribing to the video stream of the specified remote user. If you set <parmname>encodedFrameOnly</parmname> to <codeph><ph keyref="true"/></codeph> in the previous step, the SDK triggers the <xref keyref="onEncodedVideoFrameReceived"/> callback locally to report the received encoded video frame information.</li> | ||
</ol> </note> </section> | ||
<p>When a remote user has enabled dual-stream mode, you can call this method to choose the option for subscribing to the video streams sent by the remote user. The default subscription behavior of the SDK for remote video streams depends on the registered video observer type:<ul> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
depends on the type of registered video observer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT 说两种表达都可,原文更简洁,不过还是改了
<p>When a remote user has enabled dual-stream mode, you can call this method to choose the option for subscribing to the video streams sent by the remote user. The default subscription behavior of the SDK for remote video streams depends on the registered video observer type:<ul> | ||
<li>If the <xref keyref="IVideoFrameObserver"/> observer is registered, the default is to subscribe to both raw data and encoded data.</li> | ||
<li>If the <xref keyref="IVideoEncodedFrameObserver"/> observer is registered, the default is to subscribe only to the encoded data.</li> | ||
<li>If both types of observers are registered, the default follows the last registered video observer. For example, if the last registered observer is the <apiname keyref="IVideoFrameObserver"/> observer, the default is to subscribe to both raw data and encoded data.</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default behavior follows the last registered observer
<li>If the <xref keyref="IVideoFrameObserver"/> observer is registered, the default is to subscribe to both raw data and encoded data.</li> | ||
<li>If the <xref keyref="IVideoEncodedFrameObserver"/> observer is registered, the default is to subscribe only to the encoded data.</li> | ||
<li>If both types of observers are registered, the default follows the last registered video observer. For example, if the last registered observer is the <apiname keyref="IVideoFrameObserver"/> observer, the default is to subscribe to both raw data and encoded data.</li> | ||
</ul>If you want to modify the default behavior above, or want to set different subscription options for different <codeph>uids</codeph>, you can call this method to set it. <ph props="android cpp apple">For detailed implementation steps, please refer to <xref keyref="video-processing"/>.</ph></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to modify the default behavior or set different subscription options
No description provided.