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 #3703

Merged
merged 33 commits into from
Jul 15, 2024
Merged

Release/rtc ng/4.4.0 #3703

merged 33 commits into from
Jul 15, 2024

Conversation

Cilla-luodan
Copy link
Collaborator

No description provided.

<li props="android">This version removes the <codeph>buffer</codeph>, <codeph>uid</codeph>, and <codeph>timeStampMs</codeph> parameters of the <apiname keyref="onMetadataReceived"/> 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="ios">Before v4.4.0, when a user role was set to audience and called <codeph><apiname keyref="setAudioScenario"/></codeph> to set the audio scenario to chatroom (<codeph><apiname keyref="AUDIO_SCENARIO_CHATROOM"/></codeph>), the user would see a microphone permission request popup. As of v4.4.0, the SDK uses native iOS APIs to control the microphone, so audience members in a chatroom scenario will no longer receive the microphone permission request popup.</li>
<li props="apple">This version renames the <codeph>receiveMetadata</codeph> callback to <codeph><apiname keyref="onMetadataReceived"/></codeph> and removes the <codeph>data</codeph> and <codeph>timeStamp</codeph> parameters. You can get metadata-related information, including <codeph>timeStamp</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="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>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

android 和 ios 废弃的 destroyMusicPlayer 在中文发版说明和 sunset 里没有加,需要排查一下

</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>
Copy link
Collaborator Author

@Cilla-luodan Cilla-luodan Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

因为回调返回的是 int,需要在枚举后面加数字

@Cilla-luodan Cilla-luodan merged commit 2e43377 into master Jul 15, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants