Flash / Flex 中的 P2P,无需使用 Adobe Stratus
Flash 10+ 允许在 Flex 和 Flash 应用程序中实现点对点功能。然而,Adobe 试图通过确保 P2P 只能使用其名为 Stratus 的托管测试服务来实现来“控制”此功能。
据我所知。有没有其他方法可以达到相同的效果?
仅供参考:Adobe Stratus 的作用是向 NetConnection 上的每个客户端发出加密的 256 位近 ID,并且客户端需要知道彼此的近 ID 才能使用 NetStream 进行连接。一种选择可能是本地生成一个nearId并共享它,而不依赖于Adobe Stratus。不确定这是否有效。
欢迎所有想法! :)
Flash 10+ allows peer to peer capabilities to be implemented in Flex and Flash applications. However Adobe has sought to "control" this feature by ensuring that P2P can only be achieved using their hosted beta service called Stratus.
This is to the best of my knowledge. Is there any alternate method to achieve the same?
FYI: What Adobe Stratus does is it issues an encrypted 256 bit nearId to each client on NetConnection, and clients need to know each other's nearId's to connect using NetStream. One option could be to natively generate a nearId and share it without any dependencies on Adobe Stratus. Not sure if that would work tho.
All ideas welcome! :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 Flash Media Server 3.5 或 Adobe LiveCycle Collaboration Service。
它们之间的区别之一是 FMS 允许您通过 P2P 发送音频、视频和字节数据,而 ALCS 只允许使用 P2P 发送音频和视频流(无字节/文本数据)。
You can use either Flash Media Server 3.5 or Adobe LiveCycle Collaboration Service.
One of the difference between them is FMS enables you to send audio, video, and byte data through P2P while ALCS only allows audio and video streams to be sent using P2P (no byte/text data).
看来没有Stratus就不能做P2P。 FMS 的替代品尚不支持 P2P,但我会密切关注 Red5 和 Wowza。
It seems P2P cannot be done without Stratus. The alternatives to FMS don't support P2P as yet but I will keep my eye on Red5 and Wowza.