Hello,

Im pretty new to NodeJs.
I want to do something, but i don't really know how.

I saw getUserMedia(), it's something really cool.

So what i want to do, is:

Client start an audio session through getUserMedia, send this stream to 
NodeJs server and nodeJS broadcast the stream and other client can listen 
to people.

I use nodeJs with server.io, i don't know if there is something related.

if(navigator.getUserMedia) {    
>
>                 navigator.getUserMedia({audio: true, video: false}, 
>> function (stream) {
>
>                     window.AudioContext = window.AudioContext || 
>> window.webkitAudioContext;
>
>                     var audioContext = new AudioContext();
>
>                     var mediaStreamSource = 
>> audioContext.createMediaStreamSource(stream);
>
>                     mediaStreamSource.connect( audioContext.destination );
>
>  

>                     socket.emit('audio', mediaStreamSource); //not correct
>
>                  });
>
>             }
>
>
 I want to do something like this, emit the audio stream and get it to the 
server and resend it.

I hope you ll understand what im saying.

-- 
-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
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 nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to