的chatroulette建筑 [英] Architecture of chatroulette

查看:168
本文介绍了的chatroulette建筑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能向我解释背后的chatroulette的架构?
我在想一个类似的项目,将只实现音频
支持(对于初学者)。是设置此闪光灯服务器的最佳方法是什么?
如果是这样,我应该如何去获得到闪存,我需要的Flex 4?一世
与C ++,C#和Java初学者的一些经验,但我从来没有
开发何事网页。

Could somebody explain to me the architecture behind chatroulette? I was thinking about a similar project that would only implement Audio support (for starters). Is the best way to set this up a flash server? If so, how should I go about getting into flash, will I need flex 4? I have some beginner experience with c++, c# and java but I have never developed anything for the web.

我也想知道随机化如何参与者相匹配。
你会如何​​code这样的事情。

I was also wondering how the randomizer matches up the participants. How would you code something like this.

林显然这里pretty无能,我会非常AP preciate一些建议
关于这个问题 - 我不希望复制和粘贴的解决方案。它
也只是高兴听到你们将如何解决这个问题。

Im obviously pretty clueless here and I'd greatly appreciate some advice regarding this problem -- I don't expect copy and paste solutions. It would just be nice to hear how you guys would tackle this problem.

非常感谢你。

推荐答案

AFAIK的chatroulette使用Flash Player中的新API集10.1 codenamed层云,允许为Flash Player实例之间的对等网络连接。

AFAIK ChatRoulette uses a new set of API's in Flash Player 10.1 codenamed Stratus, which allows for peer-to-peer connections between Flash Player instances.

所以不是被推视频和音频流至一个特殊的流服务器,像FMS或Red5的唯一的ID的共用和同行直接连接到彼此。

So instead of the video and audio streams being pushed up to a special streaming server, like FMS or Red5 unique ID's are shared and peers connect directly to each other.

这有很大的可能性,以降低服务器负载,其中1连接到服务器的流可以近邻之间共享事件的直播。

This has great possibilities to reduce server load for live streaming of events where 1 connection to a server stream can be shared between near neighbours.

你能想象托管账单类似的chatroulette如果层云并没有直接推动双方之间的流?!

Can you imagine the hosting bills for something like ChatRoulette if Stratus wasn't pushing the streams directly between the peers?!

如果您有兴趣了解更多请查看Stratus的部分上的Adobe小伙子:<一href=\"http://labs.adobe.com/technologies/stratus/\">http://labs.adobe.com/technologies/stratus/

If you're interested in knowing more check out Stratus' section on Adobe lads: http://labs.adobe.com/technologies/stratus/

这篇关于的chatroulette建筑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆