Does HTML5 Support Peer-to-Peer (and not just WebSockets)

独自空忆成欢 提交于 2019-12-05 01:52:18
Chris Morgan

See the answers for Will HTML5 allow web apps to make peer-to-peer HTTP connections? However, the content in the WebSockets specification seems to have gone, so I suspect the answer now is "no".

https://www.peer5.com/faq

Just seen this online, may be worth looking at.

Most of the time browsers are behind firewall and you cannot connect directly to browser. If you don't want to implement server yourself there is a solution:

https://httprelay.io/

You can use AJAX calls to communicate between browsers.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!