To put it simple. I'm trying to do what node.js does on the server on the 
browser, especially on Chrome.

In node.js, node recognizes who send the data and processes or passes it 
through accordingly like something below:

var connections = [];
>
> wsServer.on('connection', function(ws) {
>     connections[id] = ws;
>     ws.on('message', function(message, flags) {
>         connections[id].send(message, flags);
>     }
> }
>

On the browser, you get data through websocket like this.

ws.onmessage = function (evt) {
>     var msg = evt.data;
> }
>

If I receive data send from 100 senders at the time. (I mean continuous 
stream like video and audio.). Then I pick up 5 senders. Suppose all of 
them broadcast video data. I want display each sender's video separately. 
There is no problem if there is only one sender at the time. 

How do I manage those data if there are two or more senders at the time. 
Thank you,

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to