The function defining the moment when the user gives the go-ahead to the recording can be placed in gotStream (see the main.js file for links). But the user can take, but reject his confirmation of the permission to write and break it all. How to catch this moment?
http://webaudiodemos.appspot.com/AudioRecorder/index.html
http://webaudiodemos.appspot.com/AudioRecorder/js/main.js
I don’t want to use the timer, because it’s too heavy, and until it has time to work, who knows what will happen to the script during recording (when access stops abruptly)
errorCallbackis not caused at this moment? - VladD pm