riva_flutter 1.0.4 copy "riva_flutter: ^1.0.4" to clipboard
riva_flutter: ^1.0.4 copied to clipboard

outdated

The library shows device-specific speech recognition and speech-to-text conversion capabilities with Riva technology.

riva_flutter #

Introduction #

pub package

The library shows device-specific speech recognition and speech-to-text conversion capabilities.

This plugin contains a set of classes that make it easy to use the underlying platform's speech recognition capabilities in Flutter. It supports Android, iOS. The target use cases of this library are persistent speech conversion or always listening and converting a continuous text to speech.

Usage #

Init riva

await FRivaManager.initSdk(host: 'your_host_url');

Start speech to text

FRivaManager.startSTT(
        onStart: () {},
        onSpeeching: (textSpeeching) {},
        onSuccess: (textRecognized) {},
        onError: (error) {},
        onComplete: () {});

Start text to speech

FRivaManager.startTTS(
        textOrigin, 
        onStart: () {}, 
        onPlaying: () {}, 
        onError: (error) {}, 
        onComplete: () {});

Permission #

IOS #

Android #

Add the record audio permission to your AndroidManifest.xml file, located in <project root>/android/app/src/main/AndroidManifest.xml.

  • android.permission.RECORD_AUDIO - this permission is required for microphone access.
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
3
likes
0
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

The library shows device-specific speech recognition and speech-to-text conversion capabilities with Riva technology.

Homepage
Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

audio_session, cupertino_icons, flutter, flutter_sound, grpc, lottie, model_viewer_plus, protobuf, record

More

Packages that depend on riva_flutter