What techniques are available to do P2P in the browser? [closed]

最后都变了- 提交于 2019-11-27 01:09:00

问题


What options does a web developer currently have for implementing client-side peer-to-peer systems in the web browser? Some hypothetical examples might be a file-sharing service that bypasses the web-server after clients find eachother, or a chat service.

What I know about:

  • the site chatroulette uses some flash technology as discussed here.

  • And I am also aware of Opera Unity which extends the browser model to encompass both a client and a server, as well as this firefox plugin which works similarly

  • I also just came across this blog post related to the Joose js framework, but am not yet sure if it is relevant here.

  • Support for this kind of thing seems like it might or might not be supported by websockets in HTML5 and has been discussed here and here and here.


回答1:


I recommend you to take a look at RTMFP protocol in Adobe Flash Player - it seems you can build something close to what you're asking with it.




回答2:


I was looking for the same thing, this library looks apealing: rtmfp-api/



来源:https://stackoverflow.com/questions/4807685/what-techniques-are-available-to-do-p2p-in-the-browser

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