[英]WebRTC - create a connection client-client from the server
I'm trying to code a Voice-Call application using WebRTC. 我正在尝试使用WebRTC编写语音呼叫应用程序。 I know that I have to create the peer-to-peer connection to connect the two clients in order to start seeing each other in a webcam conference, BUT:
我知道我必须创建对等连接来连接两个客户端,以便开始在网络摄像头会议中彼此见面,但:
Is there any way to let the server create and maintain the connection? 有什么方法可以让服务器创建和维护连接?
Following this guide I know that one client has to offer and create a connection and the other has to "reply" in order the start a conversation. 遵循本指南,我知道一个客户端必须提供并创建连接,而另一客户端必须“回复”才能开始对话。
Thank you 谢谢
You will have to create socket events to send call accept/reject requests. 您将必须创建套接字事件才能发送呼叫接受/拒绝请求。 But first you need to setup server and client side p2p communication.
但是首先,您需要设置服务器和客户端p2p通信。 For webRTC server: Licode webRTC Server And for ios cleint for Licode : Visit: Licode Erizo Client iOS
对于webRTC服务器: Licode webRTC服务器;对于ios cleint,对于Licode:访问: Licode Erizo Client iOS
This solution is the only ope source solution available on web. 该解决方案是Web上唯一可用的ope源解决方案。 Best of luck.
祝你好运。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.