进行P2P视频聊天 [英] Having P2P video chat

查看:126
本文介绍了进行P2P视频聊天的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我需要制作视频聊天组件,但我遇到的问题是弄清楚是否可以在不需要媒体服务器的情况下做到这一点.可以在客户端之间流式传输视频的地方.我需要用于网站,但可以在客户端安装小型exe.

Hello,

I have a requirement to make a video chat component but the problem i am having is to figure out if its somehow possible to do that without the need of a media server. Something where the video could be streamed between clients. I need this for a web site but installing a small exe on the client side is a possibility. Is that even possible?

推荐答案

对于p2p通信,对等方应该知道IP:PORT地址,但是大多数对等方都位于NAT路由器之后,因此如果没有中介者,他们将无法彼此识别它可以从所有对等方直接访问.您必须在应用程序中实现stun,sip,ice等协议.
免费提供stun,sip服务,而google是您最好的朋友.
For p2p communication peers should know IP:PORT addresses but mostly peers are behind NAT routers so they can''t identify each other without mediator which has direct access from all peers.You have to implement protocols like stun,sip,ice in your application.
stun,sip services are available freely and google is your best friend.


这篇关于进行P2P视频聊天的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆