Architecture of chatroulette

后端 未结 3 1109
执笔经年
执笔经年 2020-12-30 17:57

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

3条回答
  •  长发绾君心
    2020-12-30 18:24

    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.

    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.

    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.

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

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

提交回复
热议问题