felixjunghans / google_speech

Flutter google spech
MIT License
69 stars 42 forks source link

code: 1, codeName: CANCELLED #52

Closed NSLogZfRee closed 10 months ago

NSLogZfRee commented 10 months ago

In an RTC live broadcast scenario, there's an error when the microphone callback is used for Google ASR recognition.

When streamingRecognize starts for a while, got this error: I/flutter ( 7773): gRPC Error (code: 1, codeName: CANCELLED, message: The operation was cancelled., details: [], rawResponse: null, trailers: {}) GrpcError

flutter 3.16.0 google_speech: ^4.4.0

NSLogZfRee commented 10 months ago
截屏2024-01-16 21 13 34
NSLogZfRee commented 10 months ago
截屏2024-01-16 21 12 21
felixjunghans commented 10 months ago

@NSLogZfRee I have just released version 5.0.0 with endless streaming support. Please test if this solves your problem.