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

转发音视频通话消息会唤起音视频通话 #719

Open
Qiuser opened this issue Oct 12, 2024 · 2 comments
Open

转发音视频通话消息会唤起音视频通话 #719

Qiuser opened this issue Oct 12, 2024 · 2 comments

Comments

@Qiuser
Copy link

Qiuser commented Oct 12, 2024

操作说明

设备A转发一条音视频通话的消息给设备B,设备B会弹出音视频通话页面,设备A没有通话页面。同理,多选消息里如果有包含音视频通话消息,并且是逐条转发,也会出现上述问题,已在demo复现。

预期结果

转发音视频通话消息应该跟微信一样,只是转发文本消息“[网络电话],而不要唤起音视频通话页面”

@heavyrain2012
Copy link
Contributor

音视频通话消息是个特殊的消息,除了显示字面的意思外,还担任音视频通话开始信令的功能。所以当转发时,需要去掉信令的能力,变成普通消息。

我们准备把所有端的转发消息代码处理一下,把转发的通话消息转为文本消息,这样做就去掉了信令能力。但文本和通话消息的显示是有些区别的,如果你们对这个区别比较在意,可以再自定义一个消息,让这个自定义消息显示跟通话消息一样。

iOS平台代码已经提交 wildfirechat/ios-chat@b07904d 其他平台我们稍后添加,你们也可以参考这个来实现

@imndx
Copy link
Contributor

imndx commented Oct 14, 2024

Android 端,参考这个提交:wildfirechat/android-chat@3e20bf3

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

No branches or pull requests

3 participants