Skip to content

feedStreamingAudio discards the audio it's given; FluidAudio pin predates the streaming managers #4

Description

@ankitsejwal

Flagging this because the package installs cleanly and appears to work, so the failure is silent.

feedStreamingAudio accepts a buffer and doesn't forward it anywhere — audio handed to it is discarded, so a streaming session produces no transcript and no error. From the outside that looks like the model failing to recognise speech rather than the audio never arriving.

Separately, package.json pins FluidAudio ~> 0.7. Trunk's newest is 0.7.8, which predates both StreamingUnifiedAsrManager and StreamingEouAsrManager — so even with the audio path fixed, the constraint can't resolve to a version that has streaming in it. Pinning FluidAudio needs a Podfile git-tag pin rather than a podspec dependency, since a podspec can't point a dependency at a git source. Worth knowing that the upstream podspec also self-reports 0.12.2 on the v0.15.5 tag, so it has to be pinned by tag only, never with a version constraint.

Is this repo still maintained? Happy to send a PR for the audio path if it's useful — and if it isn't maintained, saying so in the README would save people time, since it's currently the first result for anyone looking for FluidAudio in React Native.

In the meantime, I needed streaming Parakeet on iOS badly enough to write a module against the Swift library directly, and published it in case it's useful to anyone landing here: https://github.com/opencore-x/expo-parakeet-stt (Expo, iOS-only, MIT). Not trying to compete with this package — I'd genuinely rather use an official one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions