Skip to content

asyncio.exceptions.InvalidStateError: invalid state #391

@wanglg009

Description

@wanglg009

(1)I sent video frame information to FastRTC using the vue3 code of task vision in Mediapipe, but suddenly encountered an error. The screenshot is as follows:

Image

(2)My code logic is
stream = Stream(
handler=FaceReaderHandler(),
modality="audio-video",
mode="send-receive",
rtc_configuration=None,
concurrency_limit=500,
time_limit=None,
)
stream.mount(app)

Image

Is it a problem caused by the front-end transmitting empty video frames to the back-end?

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