Thank you that sounds logical. but if when i tryed his code and i try to 
connect the viewer client, the node server gives me the error:

Error: This socket is closed.
at Socket._write (net.js:517:19)
at Socket.write (net.js:509:15)
at EventEmitter.exports.createServer.net.createServer.emitter.write 
(/home/manner/Documents/nodejs/hello/ws.js:220:16)
at EventEmitter.<anonymous> 
(/home/manner/Documents/nodejs/hello/app.js:47:15)
at EventEmitter.emit (events.js:88:17)
at handle (/home/manner/Documents/nodejs/hello/ws.js:99:19)
at Socket.exports.createServer.net.createServer.emitter.remoteAddress 
(/home/manner/Documents/nodejs/hello/ws.js:198:9)
at Socket.EventEmitter.emit (events.js:88:17)
at TCP.onread (net.js:395:14)

I don't have any idea what that could mean. Any ideas?

On Tuesday, August 14, 2012 11:22:11 PM UTC+2, Alan Hoffmeister wrote:
>
> Well, normaly you would use streams, you could have a nice time with 
> Socket.io, Canvas and HTML5 Device API. 
>
> Client 1 <----> Server <----> Client 2 
>
> Take a look at this awesome video: 
>
> http://francisshanahan.com/index.php/2011/stream-a-webcam-using-javascript-nodejs-android-opera-mobile-web-sockets-and-html5/
>  
>
> -- 
> Att, 
> Alan Hoffmeister 
>
>
> 2012/8/14 Manner <[email protected] <javascript:>>: 
> > Hey guys, 
> > I want to create a live stream website. But i need some theory help 
> because 
> > i don't know how live stream sites work in general. I only could guess 
> that 
> > the recording program for example xSplit records the screen and audio 
> and 
> > uploads it to the server or does it only upload single frames? i have no 
> > idea. 
> > Help me please. 
> > 
> > Geetz Manner :) 
> > 
> > -- 
> > 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]<javascript:> 
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/nodejs?hl=en?hl=en 
>

-- 
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

Reply via email to