alphacep / vosk-flutter

Apache License 2.0
51 stars 40 forks source link

[Question] Using vosk in isolate #21

Open docaohuynh opened 10 months ago

docaohuynh commented 10 months ago

Hi! I try to use vosk on flutter isolate but got error Binding has not yet been initialized. Is there any way to use vosk in other isolate?

jdevp commented 3 months ago

Did you get it to work? Can you share your code? You need to initialize the model inside the isolate. Since the Flutter isolate doesn't work with plugin directly, you may want to try flutter_isolatepackage.