简体   繁体   English

WebRTC-从服务器创建连接客户端-客户端

[英]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.

相关问题 如何在没有node.js的js中建立客户端-客户端连接? - How to make client-client connection in js without node.js? Webrtc数据通道服务器到客户端 - Webrtc Data channel server to client Webrtc 客户端可以使用来自服务器的 UDP 消息吗? - Can a Webrtc client use UDP messages from a server? 有没有办法在没有 WebRTC 的情况下从客户端 A -> 服务器 -> 客户端 B 的 stream 视频进行一对多广播? - Is there a way to stream video from client A -> server -> client B for one-to-many broadcast without WebRTC? 从客户端(浏览器)限制 WebRTC 带宽 - limit WebRTC bandwidth from the client side (browser) 可以在同一个客户端和窗口上的两个应用程序之间建立 WebRTC 连接吗? - Can a WebRTC connection be established between two apps on the same client and window? 有什么方法可以预测客户端的网络是否会支持 WebRTC 对等连接? - Is there any way to predict if the client's network will support WebRTC peer connection? 从服务器和客户端创建动态控件以从服务器访问 - create dynamic controls from server and client to access from server socket.io在连接时不会从服务器向客户端发出事件 - socket.io not emitting event from server to client on connection socket.io中从客户端到服务器的连接失败 - Connection Failed from Client to Server in socket.io
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM