Giter Club home page Giter Club logo

Comments (6)

rookiejava avatar rookiejava commented on June 19, 2024

Which binary did you test with? I couldn't reproduced on mobile emulator.
When it comes TV profile, as mentioned in the PR, I couldn't check on the emulator. But when I checked it on the real target, I couldn't reproduce it. Test binary I tested is as follows.

Model=Tizen6/TV;
Build=latest;
Release=latest;
[Build]
Type=eng;
Date=20201111_193150;
Time=19:31:50;
Variant=NONE;

It may be a binary issue or a platform issue.

from plugins.

swift-kim avatar swift-kim commented on June 19, 2024

@rookiejava I tested on various devices (R800/TM1/TV emulator) and they all have the same issue. Here is the full log:

I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : getLanguages
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : stop
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: OnStateChanged(259) > [TTS] State is changed (1) to (1)
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : setSpeechRate
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : awaitSpeakCompletion
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : speak
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: OnStateChanged(259) > [TTS] State is changed (1) to (2)
I/ConsoleMessage(32517): flutter: Playing
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : getLanguages
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : stop
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: OnStateChanged(259) > [TTS] State is changed (2) to (1)
I/ConsoleMessage(32517): flutter: Cancel
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : getLanguages
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : setSpeechRate
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : awaitSpeakCompletion
I/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(152) > method : speak
E/FlutterTtsTizenPlugin(32517): /home/swift/Git/flutter/plugins/packages/flutter_tts/tizen/src/flutter_tts_tizen_plugin.cc: HandleMethodCall(167) > [TTS] : You cannot speak again while speaking.
E/ConsoleMessage(32517): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: PlatformException(Invalid Operation, Invalid Operation, null, null)
E/ConsoleMessage(32517): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:581)
E/ConsoleMessage(32517): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158)
E/ConsoleMessage(32517): <asynchronous suspension>
E/ConsoleMessage(32517): #2      _MyAppState._speak (package:flutter_tts_tizen_example/main.dart:90)
E/ConsoleMessage(32517): <asynchronous suspension>
E/ConsoleMessage(32517):

Maybe the m_speaking value is not being updated properly when stop or pause is received.

from plugins.

rookiejava avatar rookiejava commented on June 19, 2024

Ok. I'll check again. But tell me exactly what binary you tested.

from plugins.

rookiejava avatar rookiejava commented on June 19, 2024

Ah, you're saying that the app doesn't terminated abnormally, but there's an error. Anyway, let me check again.

from plugins.

swift-kim avatar swift-kim commented on June 19, 2024

The important part is the second step. I clicked the STOP (PAUSE) button before speaking ended.

from plugins.

swift-kim avatar swift-kim commented on June 19, 2024

Note: The change hasn't been published on pub.dev.

from plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.