You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currentState: "@vatis-tech/asr-client-js: Initialized the \"MicrophoneGenerator\" plugin.",
149
-
description: "@vatis-tech/asr-client-js: The MicrophoneGenerator was successful into getting user's microphone, and will start sending data each ".concat(_this.microphoneTimeslice," miliseconds.")
150
-
});
151
-
})["catch"](function(err){
152
-
_this.logger({
153
-
currentState: "@vatis-tech/asr-client-js: Could not initilize the \"MicrophoneGenerator\" plugin.",
154
-
description: "@vatis-tech/asr-client-js: "+err
155
-
});
156
-
_this.errorHandler(err);
112
+
reader.readAsDataURL(e.data);
113
+
// if (e.data.size > 0) {
114
+
// if (this.blobState) {
115
+
// this.blobState = new Blob([this.blobState, e.data]);
116
+
// } else {
117
+
// this.blobState = e.data;
118
+
// }
119
+
// if (this.blobState.size > MICROPHONE_BIT_RATE_SAMPLES) {
currentState: "@vatis-tech/asr-client-js: Initialized the \"MicrophoneGenerator\" plugin.",
148
+
description: "@vatis-tech/asr-client-js: The MicrophoneGenerator was successful into getting user's microphone, and will start sending data each ".concat(_this.microphoneTimeslice," miliseconds.")
149
+
});
150
+
})["catch"](function(err){
151
+
_this.logger({
152
+
currentState: "@vatis-tech/asr-client-js: Could not initilize the \"MicrophoneGenerator\" plugin.",
0 commit comments