Closed kbumsik closed 5 years ago
Actually, the recording works fine, the microphone stream is silent only when I turn on the visualization. I think it is probably because I connected the stream with two AudioGraphs.
Further investigation needed.
It turns out to be not using visualization. I would focus on the opus-media-recorder capabilities than the look in our example. 7a36603188e515e946fa396957adc3d8e38c606f removes visualization in the example page.
So what had been the issue here? Using one source in multiple graphs?
MDN lists createScriptProcessor
as not supported in ios could that be a problem?
I get an object created from the call to createScriptProcessor
, but onaudioprocess
gets never called on ios (v12.4.3).
ohh, i think, that's the problem
So what had been the issue here? Using one source in multiple graphs?
It was a year ago so I don't remember the problem exactly, but it seemed that connecting multiple graphs with one source causes a problem.
MDN lists createScriptProcessor as not supported in ios could that be a problem?
No the MDN page seems to be outdated, this library uses createScriptProcessor
and it currently works in iOS, just having an issue with using multiple graph.
I get an object created from the call to createScriptProcessor, but onaudioprocess gets never called on ios (v12.4.3).
As I said createScriptProcessor works in my iPhone. Do you have issue with this library? If you are just looking for an advice on createScriptProcessor, you can have a look at how I use it:
Currently the stream becomes silent when start recording on iOS in the example page.
I believe the code itself is working though. There might be problem with permission.