英文:
How to Talk to Individual in Agoro Voice Chat
问题
我正在使用Agoro io Unity SDK来在游戏中实现语音聊天功能。它正在运行。我想知道谁是连接到我的频道的用户,我需要与个别的人进行私人聊天。例如,在我的频道中有10个人,Person1、Person2到Person10。我需要与Person3聊天,其他人不应该听到。
我该如何做呢?
我如何与特定的人进行私人聊天?
英文:
I'm using Agoro io unity SDK to implement voice chat feature in a game. It is working. I want to know who are the users are connecting in my Channel. and i have to personal chat with the individual person. For eg in my channel there are are 10 persons. Person1,Person2 to Person10. I have to chat with Person3 where other person should not hear.
How can i do it.
How can i do the personal chat with desire person
答案1
得分: 1
这部分内容的翻译如下:
这个事情你需要自己来管理,通过创建一个后端服务器。
然后,你会向后端服务器发送一个请求,表示你想要呼叫person3,后端将为你和person3创建一个新的唯一通道,并将相同的通道名称发送给你和person3。
接着,你和person3都会加入后端提供的同一个唯一通道。
这样,你可以使用agora创建你自己的一对一语音聊天。
英文:
This thing you will have to manage yourself by creating a backend server
You'll then send a request to backend server that you want to call person3, the backend will create a new unique channel for you & person3 and send the same channel_name to both you and person3
then you & person3 both will join same unique channel provided by backend
this way you can create your own 1-1 voice chat using agora
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论