Skip to content

Video streaming with websockets? #410

@elferherrera

Description

@elferherrera

Is it possible to do video streaming using websockets and FastAPI?
If not, is there a way to create an endpoint like this one created with flask?

@app.route('/video_feed')
def video_feed():
    return Response(gen(Camera()),
                    mimetype='multipart/x-mixed-replace;

I've been looking in starlette for an object like Response in flask but couldnt find one.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions