Closed pavelprosto94 closed 3 years ago
@pavelprosto94 any luck?
Please post your logs :
I can't do anything without logs.
https://github.com/Canardoux/tau/issues/727 please see this issue once.
Code program:
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_sound/flutter_sound.dart';
void main() {
runApp(MaterialApp(
title: "Mic chat",
home: LoginScreen(),
));
}
class LoginScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(
"Microphone test",
),
centerTitle: true,
),
body: Center(child: MicInterface()));
}
}
class MicInterface extends StatefulWidget {
@override
_MicInterfaceState createState() => _MicInterfaceState();
}
class _MicInterfaceState extends State<MicInterface> {
FlutterSoundRecorder _myRecorder = FlutterSoundRecorder();
StreamController<Food> recordingDataController = StreamController<Food>();
@override
void initState() {
super.initState();
_openRecorder();
}
Future<void> _openRecorder() async {
await _myRecorder.openAudioSession(
focus: AudioFocus.requestFocusAndDuckOthers,
category: SessionCategory.record,
);
}
@override
void dispose() {
// Be careful : you must `close` the audio session when you have finished with it.
_myRecorder.closeAudioSession();
//_myRecorder = null;
super.dispose();
}
@override
Widget build(BuildContext context) {
return Row(mainAxisAlignment: MainAxisAlignment.center, children: [
FloatingActionButton(
child: Icon(Icons.mic),
onPressed: () async {
await _myRecorder.startRecorder(
toStream: recordingDataController.sink,
codec: Codec.pcm16,
numChannels: 1,
sampleRate: 48000,
);
}),
Container(width: 20),
FloatingActionButton(
child: Icon(Icons.stop),
onPressed: () async {
await _myRecorder.stopRecorder();
}),
]);
}
}
Flutter logs:
Launching lib/main.dart on Chrome in debug mode...
This app is linked to the debug service: ws://127.0.0.1:44943/5BSYl2Hn-us%3D/ws
Debug service listening on ws://127.0.0.1:44943/5BSYl2Hn-us=/ws
💪 Running with sound null safety 💪
Connecting to VM Service at ws://127.0.0.1:44943/5BSYl2Hn-us=/ws
Restarted application in 1 842ms.
TypeError: dart.global.newRecorderInstance is not a function
at flutter_sound_recorder_web.FlutterSoundRecorderWeb.new.openRecorder (http://localhost:36223/packages/flutter_sound_web/flutter_sound_recorder_web.dart.lib.js:69:42)
at openRecorder.next (<anonymous>)
at runBody (http://localhost:36223/dart_sdk.js:37422:34)
at Object._async [as async] (http://localhost:36223/dart_sdk.js:37453:7)
at flutter_sound_recorder_web.FlutterSoundRecorderWeb.new.openRecorder (http://localhost:36223/packages/flutter_sound_web/flutter_sound_recorder_web.dart.lib.js:62:20)
at flutter_sound_recorder.FlutterSoundRecorder.new._openAudioSession (http://localhost:36223/packages/flutter_sound/public/ui/sound_recorder_ui.dart.lib.js:4107:97)
at _openAudioSession.next (<anonymous>)
at http://localhost:36223/dart_sdk.js:37403:33
at _RootZone.runUnary (http://localhost:36223/dart_sdk.js:37274:59)
at _FutureListener.thenAwait.handleValue (http://localhost:36223/dart_sdk.js:32530:29)
at handleValueCallback (http://localhost:36223/dart_sdk.js:33057:49)
at Function._propagateToListeners (http://localhost:36223/dart_sdk.js:33095:17)
at _Future.new.[_completeWithValue] (http://localhost:36223/dart_sdk.js:32943:23)
at async._AsyncCallbackEntry.new.callback (http://localhost:36223/dart_sdk.js:32964:35)
at Object._microtaskLoop (http://localhost:36223/dart_sdk.js:37526:13)
at _startMicrotaskLoop (http://localhost:36223/dart_sdk.js:37532:13)
at http://localhost:36223/dart_sdk.js:33303:9
[38;5;208m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[38;5;208m│ #0 packages/flutter_sound/public/flutter_sound_recorder.dart 327:15 _waitOpen
[38;5;208m│ #1 packages/flutter_sound/public/flutter_sound_recorder.dart 325:25 [_waitOpen]
[38;5;208m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
[38;5;208m│ ⚠️ Waiting for the recorder being opened
[38;5;208m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Restarted application in 423ms.
Browser logs
This app is linked to the debug service: ws://127.0.0.1:44943/5BSYl2Hn-us%3D/ws
flutter_sound_recorder_web.dart:146 Uncaught (in promise) TypeError: dart.global.newRecorderInstance is not a function
at flutter_sound_recorder_web.FlutterSoundRecorderWeb.new.openRecorder (flutter_sound_recorder_web.dart:146)
at openRecorder.next (<anonymous>)
at runBody (async_patch.dart:84)
at Object._async [as async] (async_patch.dart:123)
at flutter_sound_recorder_web.FlutterSoundRecorderWeb.new.openRecorder (flutter_sound_recorder_web.dart:136)
at flutter_sound_recorder.FlutterSoundRecorder.new._openAudioSession (flutter_sound_recorder.dart:429)
at _openAudioSession.next (<anonymous>)
at async_patch.dart:45
at _RootZone.runUnary (zone.dart:1613)
at _FutureListener.thenAwait.handleValue (future_impl.dart:155)
at handleValueCallback (future_impl.dart:707)
at Function._propagateToListeners (future_impl.dart:736)
at _Future.new.[_completeWithValue] (future_impl.dart:542)
at async._AsyncCallbackEntry.new.callback (future_impl.dart:580)
at Object._microtaskLoop (schedule_microtask.dart:40)
at _startMicrotaskLoop (schedule_microtask.dart:49)
at async_patch.dart:166
openRecorder @ flutter_sound_recorder_web.dart:146
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
openRecorder @ flutter_sound_recorder_web.dart:136
_openAudioSession @ flutter_sound_recorder.dart:429
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
[_complete] @ ticker.dart:389
ticker$.TickerFuture.complete @ ticker.dart:379
didAdd @ navigator.dart:241
didAdd @ routes.dart:223
didAdd @ routes.dart:1115
didAdd @ navigator.dart:3075
[_flushHistoryUpdates] @ navigator.dart:3946
restoreState @ navigator.dart:3467
[_doRestore] @ restoration.dart:984
didChangeDependencies @ restoration.dart:970
didChangeDependencies @ navigator.dart:3485
[_firstBuild] @ framework.dart:4732
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
mount @ framework.dart:6083
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
mount @ framework.dart:6083
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
setTimeout (async)
_isolate_helper.TimerImpl.new @ isolate_helper.dart:55
_createTimer @ async_patch.dart:186
createTimer @ zone.dart:1637
new @ timer.dart:45
run @ timer.dart:81
scheduleAttachRootWidget @ binding.dart:916
(anonymous) @ binding.dart:1028
runApp @ binding.dart:1029
main$ @ VM14 main.dart.lib.js:458
main @ VM10 web_entrypoint.dart.lib.js:36
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future.dart:401
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ js_util.dart:183
Promise.then (async)
promiseToFuture @ js_util.dart:195
[dartx.arrayBuffer] @ html_dart2js.dart:1682
_checkAndCall @ operations.dart:324
callMethod @ operations.dart:388
dsend @ operations.dart:392
[_getArrayBuffer] @ fonts.dart:170
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ js_util.dart:183
Promise.then (async)
promiseToFuture @ js_util.dart:195
[dartx.fetch] @ html_dart2js.dart:32892
_registerFont @ fonts.dart:141
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
[_registerFont] @ fonts.dart:138
registerFonts @ fonts.dart:125
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ html_dart2js.dart:18172
_checkAndCall @ operations.dart:324
dcall @ operations.dart:329
(anonymous) @ html_dart2js.dart:37283
load (async)
[_addEventListener] @ html_dart2js.dart:15815
[dartx.addEventListener] @ html_dart2js.dart:15803
[_tryResume] @ html_dart2js.dart:37337
_EventStreamSubscription.new @ html_dart2js.dart:37284
listen @ html_dart2js.dart:37184
request @ html_dart2js.dart:18159
load @ assets.dart:56
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
load @ assets.dart:52
registerFonts @ fonts.dart:93
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
registerFonts @ fonts.dart:89
webOnlySetAssetManager @ initialization.dart:66
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
webOnlySetAssetManager @ initialization.dart:49
_initializePlatform @ initialization.dart:33
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ initialization.dart:102
_checkAndCall @ operations.dart:324
dcall @ operations.dart:329
ret @ js_patch.dart:411
Promise.then (async)
(anonymous) @ initialization.dart:99
_checkAndCall @ operations.dart:324
dcall @ operations.dart:329
(anonymous) @ html_dart2js.dart:37283
load (async)
[_addEventListener] @ html_dart2js.dart:15815
[dartx.addEventListener] @ html_dart2js.dart:15803
[_tryResume] @ html_dart2js.dart:37337
_EventStreamSubscription.new @ html_dart2js.dart:37284
listen @ html_dart2js.dart:37184
initializeCanvasKit @ initialization.dart:92
_initializePlatform @ initialization.dart:29
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
_initializePlatform @ initialization.dart:21
webOnlyInitializePlatform @ initialization.dart:11
main @ VM10 web_entrypoint.dart.lib.js:32
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
main$ @ VM10 web_entrypoint.dart.lib.js:30
(anonymous) @ main_module.bootstrap.js:19
window.$dartRunMain @ main_module.bootstrap.js:18
(anonymous) @ VM296:1
runMain @ client.js:8825
(anonymous) @ client.js:22713
(anonymous) @ client.js:3851
call$2 @ client.js:11063
_asyncStartSync @ client.js:3815
$call$body$main__closure @ client.js:22725
call$1 @ client.js:22652
_rootRunUnary @ client.js:4185
runUnary$2$2 @ client.js:12436
runUnaryGuarded$1$2 @ client.js:12383
_sendData$1 @ client.js:11959
perform$1 @ client.js:12148
call$0 @ client.js:12197
_microtaskLoop @ client.js:4023
_startMicrotaskLoop @ client.js:4029
call$1 @ client.js:10932
invokeClosure @ client.js:1259
(anonymous) @ client.js:1278
childList (async)
call$1 @ client.js:10942
_scheduleAsyncCallback @ client.js:4043
_rootScheduleMicrotask @ client.js:4234
scheduleMicrotask @ client.js:4072
schedule$1 @ client.js:12179
_addPending$1 @ client.js:11950
_sendData$1 @ client.js:11757
add$1 @ client.js:11623
_onIncomingMessage$1 @ client.js:21989
eval @ VM282:3
invokeClosure @ client.js:1259
(anonymous) @ client.js:1278
Show 221 more frames
client.js:3362 2 module(s) were hot-reloaded.
flutter_sound_recorder_web.dart:146 Uncaught (in promise) TypeError: dart.global.newRecorderInstance is not a function
at flutter_sound_recorder_web.FlutterSoundRecorderWeb.new.openRecorder (flutter_sound_recorder_web.dart:146)
at openRecorder.next (<anonymous>)
at runBody (async_patch.dart:84)
at Object._async [as async] (async_patch.dart:123)
at flutter_sound_recorder_web.FlutterSoundRecorderWeb.new.openRecorder (flutter_sound_recorder_web.dart:136)
at flutter_sound_recorder.FlutterSoundRecorder.new._openAudioSession (flutter_sound_recorder.dart:429)
at _openAudioSession.next (<anonymous>)
at async_patch.dart:45
at _RootZone.runUnary (zone.dart:1613)
at _FutureListener.thenAwait.handleValue (future_impl.dart:155)
at handleValueCallback (future_impl.dart:707)
at Function._propagateToListeners (future_impl.dart:736)
at _Future.new.[_completeWithValue] (future_impl.dart:542)
at async._AsyncCallbackEntry.new.callback (future_impl.dart:580)
at Object._microtaskLoop (schedule_microtask.dart:40)
at _startMicrotaskLoop (schedule_microtask.dart:49)
at async_patch.dart:166
openRecorder @ flutter_sound_recorder_web.dart:146
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
openRecorder @ flutter_sound_recorder_web.dart:136
_openAudioSession @ flutter_sound_recorder.dart:429
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
[_complete] @ ticker.dart:389
ticker$.TickerFuture.complete @ ticker.dart:379
didAdd @ navigator.dart:241
didAdd @ routes.dart:223
didAdd @ routes.dart:1115
didAdd @ navigator.dart:3075
[_flushHistoryUpdates] @ navigator.dart:3946
restoreState @ navigator.dart:3467
[_doRestore] @ restoration.dart:984
didChangeDependencies @ restoration.dart:970
didChangeDependencies @ navigator.dart:3485
[_firstBuild] @ framework.dart:4732
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
mount @ framework.dart:6083
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
mount @ framework.dart:6083
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
performRebuild @ framework.dart:4746
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
[_firstBuild] @ framework.dart:4737
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
rebuild @ framework.dart:4267
[_firstBuild] @ framework.dart:4553
mount @ framework.dart:4548
inflateWidget @ framework.dart:3611
updateChild @ framework.dart:3363
performRebuild @ framework.dart:4599
setTimeout (async)
_isolate_helper.TimerImpl.new @ isolate_helper.dart:55
_createTimer @ async_patch.dart:186
createTimer @ zone.dart:1637
new @ timer.dart:45
run @ timer.dart:81
scheduleAttachRootWidget @ binding.dart:916
(anonymous) @ binding.dart:1028
runApp @ binding.dart:1029
main$ @ VM1012 main.dart.lib.js:458
main @ VM1013 web_entrypoint.dart.lib.js:36
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future.dart:401
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ js_util.dart:183
Promise.then (async)
promiseToFuture @ js_util.dart:195
[dartx.arrayBuffer] @ html_dart2js.dart:1682
_checkAndCall @ operations.dart:324
callMethod @ operations.dart:388
dsend @ operations.dart:392
[_getArrayBuffer] @ fonts.dart:170
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ js_util.dart:183
Promise.then (async)
promiseToFuture @ js_util.dart:195
[dartx.fetch] @ html_dart2js.dart:32892
_registerFont @ fonts.dart:141
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
[_registerFont] @ fonts.dart:138
registerFonts @ fonts.dart:125
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ html_dart2js.dart:18172
_checkAndCall @ operations.dart:324
dcall @ operations.dart:329
(anonymous) @ html_dart2js.dart:37283
load (async)
[_addEventListener] @ html_dart2js.dart:15815
[dartx.addEventListener] @ html_dart2js.dart:15803
[_tryResume] @ html_dart2js.dart:37337
_EventStreamSubscription.new @ html_dart2js.dart:37284
listen @ html_dart2js.dart:37184
request @ html_dart2js.dart:18159
load @ assets.dart:56
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
load @ assets.dart:52
registerFonts @ fonts.dart:93
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
registerFonts @ fonts.dart:89
webOnlySetAssetManager @ initialization.dart:66
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
webOnlySetAssetManager @ initialization.dart:49
_initializePlatform @ initialization.dart:33
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1613
handleValue @ future_impl.dart:155
handleValueCallback @ future_impl.dart:707
_propagateToListeners @ future_impl.dart:736
[_completeWithValue] @ future_impl.dart:542
(anonymous) @ future_impl.dart:580
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:166
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:164
_scheduleImmediate @ async_patch.dart:136
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1421
scheduleMicrotask @ zone.dart:1633
[_asyncCompleteWithValue] @ future_impl.dart:579
[_asyncComplete] @ future_impl.dart:574
complete @ future_impl.dart:46
(anonymous) @ initialization.dart:102
_checkAndCall @ operations.dart:324
dcall @ operations.dart:329
ret @ js_patch.dart:411
Promise.then (async)
(anonymous) @ initialization.dart:99
_checkAndCall @ operations.dart:324
dcall @ operations.dart:329
(anonymous) @ html_dart2js.dart:37283
load (async)
[_addEventListener] @ html_dart2js.dart:15815
[dartx.addEventListener] @ html_dart2js.dart:15803
[_tryResume] @ html_dart2js.dart:37337
_EventStreamSubscription.new @ html_dart2js.dart:37284
listen @ html_dart2js.dart:37184
initializeCanvasKit @ initialization.dart:92
_initializePlatform @ initialization.dart:29
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
_initializePlatform @ initialization.dart:21
webOnlyInitializePlatform @ initialization.dart:11
main @ VM1013 web_entrypoint.dart.lib.js:32
runBody @ async_patch.dart:84
_async @ async_patch.dart:123
main$ @ VM1013 web_entrypoint.dart.lib.js:30
call$0 @ client.js:23194
Primitives_applyFunction @ client.js:934
Function_apply @ client.js:5208
_callDartFunctionFast @ client.js:7150
(anonymous) @ client.js:7141
(anonymous) @ VM1014:1
runMain @ client.js:8825
(anonymous) @ client.js:22950
(anonymous) @ client.js:3851
call$2 @ client.js:11063
call$1 @ client.js:11049
runUnary$2$2 @ client.js:12721
call$0 @ client.js:11464
_Future__propagateToListeners @ client.js:3959
_completeWithValue$1 @ client.js:11290
call$0 @ client.js:11386
_microtaskLoop @ client.js:4023
_startMicrotaskLoop @ client.js:4029
call$1 @ client.js:10932
invokeClosure @ client.js:1259
(anonymous) @ client.js:1278
childList (async)
call$1 @ client.js:10942
_scheduleAsyncCallback @ client.js:4043
_rootScheduleMicrotask @ client.js:4234
scheduleMicrotask$1 @ client.js:12745
_asyncCompleteWithValue$1 @ client.js:11314
_asyncComplete$1 @ client.js:11308
complete$1 @ client.js:11122
complete$0 @ client.js:11125
call$0 @ client.js:23202
Primitives_applyFunction @ client.js:934
Function_apply @ client.js:5208
_callDartFunctionFast @ client.js:7150
(anonymous) @ client.js:7141
(anonymous) @ main_module.bootstrap.js:977
execCb @ require.js:1696
check @ require.js:883
(anonymous) @ require.js:1139
(anonymous) @ require.js:134
(anonymous) @ require.js:1189
each @ require.js:59
emit @ require.js:1188
check @ require.js:938
enable @ require.js:1176
init @ require.js:788
callGetModule @ require.js:1203
completeLoad @ require.js:1590
onScriptLoad @ require.js:1717
load (async)
req.load @ require.js:1942
load @ require.js:1685
load @ require.js:834
fetch @ require.js:824
check @ require.js:856
enable @ require.js:1176
enable @ require.js:1557
(anonymous) @ require.js:1161
(anonymous) @ require.js:134
each @ require.js:59
enable @ require.js:1113
init @ require.js:788
(anonymous) @ require.js:1460
setTimeout (async)
req.nextTick @ require.js:1815
localRequire @ require.js:1449
requirejs @ require.js:1797
forceLoadModule @ main_module.bootstrap.js:975
forceLoadModule$3 @ client.js:8964
forceLoadModule$3$x @ client.js:3680
_reloadModule$1 @ client.js:23167
(anonymous) @ client.js:23108
(anonymous) @ client.js:3851
call$2 @ client.js:11063
call$1 @ client.js:11049
runUnary$2$2 @ client.js:12721
call$0 @ client.js:11464
_Future__propagateToListeners @ client.js:3959
_completeWithValue$1 @ client.js:11290
call$0 @ client.js:11386
_microtaskLoop @ client.js:4023
_startMicrotaskLoop @ client.js:4029
call$1 @ client.js:10932
invokeClosure @ client.js:1259
(anonymous) @ client.js:1278
childList (async)
call$1 @ client.js:10942
_scheduleAsyncCallback @ client.js:4043
_rootScheduleMicrotask @ client.js:4234
scheduleMicrotask$1 @ client.js:12745
_asyncCompleteWithValue$1 @ client.js:11314
_asyncComplete$1 @ client.js:11308
complete$1 @ client.js:11122
complete$0 @ client.js:11125
call$0 @ client.js:23202
Primitives_applyFunction @ client.js:934
Function_apply @ client.js:5208
_callDartFunctionFast @ client.js:7150
(anonymous) @ client.js:7141
(anonymous) @ main_module.bootstrap.js:977
execCb @ require.js:1696
check @ require.js:883
(anonymous) @ require.js:1139
(anonymous) @ require.js:134
(anonymous) @ require.js:1189
each @ require.js:59
emit @ require.js:1188
check @ require.js:938
enable @ require.js:1176
init @ require.js:788
callGetModule @ require.js:1203
completeLoad @ require.js:1590
onScriptLoad @ require.js:1717
load (async)
req.load @ require.js:1942
load @ require.js:1685
load @ require.js:834
fetch @ require.js:824
check @ require.js:856
enable @ require.js:1176
enable @ require.js:1557
(anonymous) @ require.js:1161
(anonymous) @ require.js:134
each @ require.js:59
enable @ require.js:1113
init @ require.js:788
(anonymous) @ require.js:1460
setTimeout (async)
req.nextTick @ require.js:1815
localRequire @ require.js:1449
requirejs @ require.js:1797
forceLoadModule @ main_module.bootstrap.js:975
forceLoadModule$3 @ client.js:8964
forceLoadModule$3$x @ client.js:3680
_reloadModule$1 @ client.js:23167
(anonymous) @ client.js:23108
(anonymous) @ client.js:3851
call$2 @ client.js:11063
_asyncStartSync @ client.js:3815
_reload$body$RequireRestarter @ client.js:23161
_reload$1 @ client.js:23036
(anonymous) @ client.js:22936
(anonymous) @ client.js:3851
call$2 @ client.js:11063
call$1 @ client.js:11049
runUnary$2$2 @ client.js:12721
call$0 @ client.js:11464
_Future__propagateToListeners @ client.js:3959
_completeWithValue$1 @ client.js:11290
complete$1 @ client.js:11032
_asyncReturn @ client.js:3823
(anonymous) @ client.js:22987
(anonymous) @ client.js:3851
call$2 @ client.js:11063
call$1 @ client.js:11049
runUnary$2$2 @ client.js:12721
call$0 @ client.js:11464
_Future__propagateToListeners @ client.js:3959
_completeWithValue$1 @ client.js:11290
call$0 @ client.js:11386
_microtaskLoop @ client.js:4023
_startMicrotaskLoop @ client.js:4029
call$1 @ client.js:10932
invokeClosure @ client.js:1259
(anonymous) @ client.js:1278
childList (async)
call$1 @ client.js:10942
_scheduleAsyncCallback @ client.js:4043
_rootScheduleMicrotask @ client.js:4234
scheduleMicrotask$1 @ client.js:12745
_asyncCompleteWithValue$1 @ client.js:11314
_asyncComplete$1 @ client.js:11308
complete$1 @ client.js:11122
call$1 @ client.js:16222
call$1 @ client.js:17222
invokeClosure @ client.js:1259
(anonymous) @ client.js:1278
load (async)
_addEventListener$3 @ client.js:16113
addEventListener$3 @ client.js:16107
addEventListener$3$x @ client.js:3656
_tryResume$0 @ client.js:17204
_EventStreamSubscription$ @ client.js:7355
HttpRequest_request @ client.js:7330
(anonymous) @ client.js:22978
(anonymous) @ client.js:3851
call$2 @ client.js:11063
_asyncStartSync @ client.js:3815
_getDigests$0 @ client.js:22990
(anonymous) @ client.js:22910
(anonymous) @ client.js:3851
call$2 @ client.js:11063
call$1 @ client.js:11049
runUnary$2$2 @ client.js:12721
call$0 @ client.js:11464
_Future__propagateToListeners @ client.js:3959
_completeWithValue$1 @ client.js:11290
call$0 @ client.js:11386
_microtaskLoop @ client.js:4023
_startMicrotaskLoop @ client.js:4029
call$1 @ client.js:10932
invokeClosure @ client.js:1259
(anonymous) @ client.js:1278
childList (async)
call$1 @ client.js:10942
_scheduleAsyncCallback @ client.js:4043
_rootScheduleMicrotask @ client.js:4234
scheduleMicrotask$1 @ client.js:12745
_asyncCompleteWithValue$1 @ client.js:11314
_asyncComplete$1 @ client.js:11308
complete$1 @ client.js:11122
eval @ VM1009:3
Primitives_applyFunction @ client.js:937
Function_apply @ client.js:5208
_callDartFunctionFast @ client.js:7150
(anonymous) @ client.js:7141
Promise.then (async)
then$2 @ client.js:8955
then$2$x @ client.js:3725
(anonymous) @ client.js:22902
(anonymous) @ client.js:3851
call$2 @ client.js:11063
_asyncStartSync @ client.js:3815
restart$0 @ client.js:22960
(anonymous) @ client.js:22833
(anonymous) @ client.js:3851
call$2 @ client.js:11063
_asyncStartSync @ client.js:3815
hotRestart$0 @ client.js:22847
call$0 @ client.js:22617
Primitives_applyFunction @ client.js:934
Function_apply @ client.js:5208
_callDartFunctionFast @ client.js:7150
(anonymous) @ client.js:7141
(anonymous) @ VM1007:1
Show 258 more frames
js_primitives.dart:30 [38;5;208m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
js_primitives.dart:30 [38;5;208m│ #0 packages/flutter_sound/public/flutter_sound_recorder.dart 327:15 _waitOpen
js_primitives.dart:30 [38;5;208m│ #1 packages/flutter_sound/public/flutter_sound_recorder.dart 325:25 [_waitOpen]
js_primitives.dart:30 [38;5;208m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
js_primitives.dart:30 [38;5;208m│ ⚠️ Waiting for the recorder being opened
js_primitives.dart:30 [38;5;208m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
client.js:3362 2 module(s) were hot-reloaded.
Did you import the required javascript files in your index.html ?
Dynamic reference
or add those 4 lines at the end of the <head>
section of your index.html file :
<script src="https://cdn.jsdelivr.net/npm/tau_core@8/js/flutter_sound/flutter_sound.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/tau_core@8/js/flutter_sound/flutter_sound_player.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/tau_core@8/js/flutter_sound/flutter_sound_recorder.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/howler@2/dist/howler.min.js"></script>
@pavelprosto94 Also don't forget to do a hard reload your web page after add those 4 lines
Please re-open this issue if you still have problem with Flutter Sound on Web.
The documentation is now a little bit better, and I tested that the new version 8.3.9 works fine Flutter Sound on web.
Audio recording in the WEB does not work. When trying to start the compiler, an error occurred. The recorder cannot start and record sound. For some reason, the browser does not ask for permission to record audio.