The http_input plugin uses a NETBUFFER_SIZE variable, but it seems to be hardcoded to 4k. There is no parameter to adjust it.
What is the format of the stream you are trying to proxy here? Probably try it with a smaller resolution. Looks like adjusting the buffer size is a reasonable feature to suggest to mjpg-streamer dev(s).
Btw 192.168.12 is a typo and should be 192.168.1.12 or similar, I guess?
The stream related part is in src/app_httpd.c file
Yes 192.168.1.12 it’s a typo.
Also it works on motioneye if I put : netcam_url http://192.168.1.12:81
But it’s pretty slow compared to opening a webpage and entering this url (I know there is a motion feature triggering but it’s way slower than the motion I used on esp32cam).
Based on reply http_input works with mjpg-streamer as input only, which is good to know. I was already wondering why no URI can be given but a hostname only.
Streaming a locally attached camera shouldn’t be an issue, but forwarding/proxing a remote network camera seems to work only with a remote mjpg-streamer, or a streamer which emulates the streaming behaviour of mjpg-streamer exactly. The http_input plugin simply is not generic webcam/RTSP/MJPEG input plugin.