Thursday 15 August 2013

javascript - How would getUserMedia be able to stream to a server (efficiently, anyway)? -


Currently, with GetUserMedia I am able to use a Blob URL to return the correct (audio) data pipe . However, I want to be able to get raw data from it. What page blob url special "black magic" is useless, when the page stops? Is the actual data encoded in it or is there just an indicator for some stream in memory? If I was trying to open this blob in another browser, would I be successful?

Anyway, what is the best way to straighten the stream object, directly from YouTube, and it does not care about raw audio (I 'socket code, but you have a sample type thing How will it take?) I finally want to play with a minimum VoIP-type app.

I am currently using a code sample like this:

  navigator.webkitGetUserMedia ({audio: true}, function (stream) {console.log ( Window.URL.createObjectURL (stream));}, function () {console.log ("reject!");}); However, I would like to be able to take stream variables and actually get tangible data, such as any other client who will be able to parse and process.  

@bobbybee, as @ konga-raju said in his reply, the implementation is still on the browser Although not ready, you can record videos in separate tracks as WebM (with canvas moves) + audio (encoded with MP3 / Record / Z), putting them on the server again and again Can compile. Look and at the moment, this does not do Evi together, so you have to play with it to do this.

Or you can do this for a few weeks until the record implementation is in some versions of Chrome.

No comments:

Post a Comment