Skip to content

Possible to send multiple images (stream) - e.g. webcam on ESP32CAM? #38

@HowardsPlayPen

Description

@HowardsPlayPen

Background: my aim is to use an ESP32CAM as a webcam using the commonly found code on the web - but to also include ElegantOTA for simple OTA updates (which brought in ESPAsyncWebServer). Ideally I wanted to be able to stream the images - and handle more than one client (the commonly available code only handles one client at a time)

So this library looks great - better / more performant than ESPAsyncWebServer (and still supported)

Question: I can see the documentation say:
"You can not send more than one response to a single request."
which seems to categorically rule out my request(? Unless there is a distinction between multiple Response objects versus sending multiple blobs over a single connection?)

I could use WebSockets - so again this library looks great if that is the case.

Apologies if this is a pointless request or asked before (I could not find it and I believe I went through all Issues)

Summary:
Can I cache Response objects and send multiple blobs (e.g. call setContent / send multiple times?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions