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

Api 6/6 #3711

Merged
merged 3 commits into from
Jul 22, 2024
Merged

Api 6/6 #3711

merged 3 commits into from
Jul 22, 2024

Conversation

Suri539
Copy link
Collaborator

@Suri539 Suri539 commented Jul 18, 2024

No description provided.

<note type="attention"><ul><li>用户成功加入频道后,默认订阅频道内所有其他用户的音频流和视频流,因此产生用量并影响计费。如果想取消订阅,可以通过调用相应的 <apiname>mute</apiname> 方法实现。</li>
<li>如果你的项目仅开启调试模式(即选择 APP ID 为鉴权机制),成功加入频道 24 小时后会自动退出该频道。</li></ul></note> </section>
<section id="parameters">
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title" conkeyref="joinChannel2/detailed_desc">
Copy link
Collaborator

Choose a reason for hiding this comment

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

detailed_desc 这里可以用 conkeyref 么?和 joinChannel1 相比的描述是不是要改一下
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

是的,只要下面一句

</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在初始化引擎之后再调用。</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

初始化这里要不要把 initialize 写出来
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>如果你已经在一个频道内,你不能用相同的用户 ID 再次加入该频道。</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里可以复用 joinChannel2 的 restriction 么?好像 joinChannel2 里还有其他的
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

joinchannel 多了一个“该方法仅支持用户一次加入一个频道”,上面的描述写的是调用这个方法可以同时加入多个频道,所以没有复用

@Suri539 Suri539 merged commit 4a351f8 into master Jul 22, 2024
7 of 19 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.

2 participants