gpt4 book ai didi

networking - Flash/Flex 中的 UDP 实时游戏可用 开源 RTMFP 实现

转载 作者:行者123 更新时间:2023-12-02 23:09:59 29 4
gpt4 key购买 nike

是否有使用 Flash 10 beta 的示例 RTMFP UDP基于协议(protocol)来构建实时 Flash 游戏。到目前为止,RTMFP 示例似乎主要关注 Flash 客户端之间的 P2P 网络,有谁知道通过 RTMFP 进行基于传统客户端/服务器 UDP 通信的任何示例吗?

有谁知道RTMFP的能力NAT firewall punch-through允许客户端“托管”实时游戏。想象一下,能够通过 Flash 客户端在网络上进行类似 Xbox 的实时匹配,并允许客户端通过网络浏览器托管基于 Flash 的实时“使命召唤”游戏服务器。

听起来像是 Adob​​e 的测试版 Stratus project为P2P实时通信提供“会合”服务。我相信这是通过协调 P2P“会合”与中央服务器来实现 NAT 导航以绕过防火墙。

Adobe Labs 还有另一个产品,名为 Live Cycle Collaboration Service :

Try RTMFP and ClientToClient:

There are a couple of very interesting problems in using RTMFP. First of all, being UDP-based means that a lot of firewalls just don't allow it. It's pretty common to attempt the connection and fail. Cocomo works around this by attempting a couple of connections at the same time, with a couple of protocols. Whichever succeeds wins the prize of being your session's connection.

LCCS 听起来像是一个“更全面”的解决方案,可提供 P2P 游戏以及基于标准客户端/服务器 UDP 或 TCP 的游戏。它尝试 P2P UDP,如果失败,它可以回退到客户端/专用服务器 TCP 或 UDP 通信。这似乎是游戏服务提供商希望能够自行管理的事情(“云”LCCS 和 Stratus 服务没有对​​游戏服务器的“服务器端”提供足够的控制),是否有任何致力于开发与这些“会合”NAT 穿透和 TCP 回退服务等效的开源软件吗?

有人知道支持 RTMFP(或任何其他 Flash 10 beta UDP 协议(protocol))的开源项目吗?有没有使用RTMFP的实时游戏例子?

最佳答案

OpenRTMFP 与 Cumulus https://github.com/OpenRTMFP/Cumulus;)

关于networking - Flash/Flex 中的 UDP 实时游戏可用 开源 RTMFP 实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1677692/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com