如果用户有本地网络,Adobe Cirrus (Stratus) 将无法工作
我正在开发 flash p2p 聊天。它在我朋友的计算机上运行良好(他们可以互相聊天),但在我的计算机上运行不佳。问题是我家里有本地网络,并且我认为 Flash Player 尝试向本地网络内的对等点发出 p2p 请求。
我可以检查用户是否有 AS3 中的本地网络以及 WWW 的网络级别吗?
欢迎任何想法!
谢谢。
I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.
Can I check if user have local network in AS3 and up the level of network to the WWW?
Any ideas are welcome!
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否将路由器设置为阻止传出 UDP 数据包?
问题可能是防火墙,而不是本地 IP 地址。
我认为此页面将帮助您找出并解决问题,特别是防火墙穿越部分。
http://www.adobe.com/devnet/flashplayer/articles/rtmfp_cirrus_app.html
我想不出任何方法来确定用户是否在本地网络中,并在网络浏览器上使用 Flash 播放器。但让用户配置防火墙或 TURN 代理,或者提供执行相同操作的可下载脚本/程序可能就可以了。 :')
祝你好运!
Did you set your router to block outgoing UDP packets?
The problem could be the firewall, not the local ip address.
I think this page will help you to figure out and to solve the problem, especially the Firewall traversal section.
http://www.adobe.com/devnet/flashplayer/articles/rtmfp_cirrus_app.html
I can't think of any way to determine if user is in local network with flash player on a web browser. But it might be just okay to let user to configure firewall or TURN proxy, or to provide downloadable script/program which does the same thing. :')
Good luck!