Closed ahdinosaur closed 9 years ago
how then can you convert the data getUserMedia produces to a MediaStream?
getUserMedia should return a MediaStream, which can then be converted to an MediaStreamAudioSourceNode with AudioContext.createMediaStreamSource(). the existing code does this, the plan now is to remove getUserMedia from this module so a read-audio
consumer must get the media stream themselves and then read-audio
can always synchronously return the ndsamples
stream.
have you already made any progress?
ahh, didn't realize you were waiting on me. done. :smiley_cat:
cool, will check that out in the next days for my www.videomail.io project
so browser version is synchronous as well.
this will be a breaking change.