javascript - Raw Buffer data play in audio tag -


i making web application streaming users microphone audio node js server using socket io , re broadcasting data.

<buffer 59 00 76 00 92 00 a0 00 aa 00 b1 00 aa 00 92 00 7c 00 74 00 75 00 7e 00 8f 00 9d 00 9c 00 98 00 94 00 85 00 7c 00 8a 00 8f 00 6c 00 4f 00 5d 00 67 00 48 ...> 

this sending , recieving on clients (via log). possible take buffer , put in sort of audio container , play in html audio tag?

i tried taking buffer obj , making object url blob did not work.

  var src = window.url.createobjecturl(stream) 

should push buffered data array? make sense client play how can take raw data , turn audio? appreciated.

i putting finishing touches on project stream audio node.js rendered in browser web audio - nothing out of box i've found - involves setting audio context playback callback getting fed buffers received via web sockets


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -