Hi all,
I wrote an app that acts as 3D Printer, CNC Router and Laser Host controller over USB and Network.
To view remotely machines during the working process, eg while printing, engraving etc.. locally or over internet, I use ESP32CAM that stream multipart MJPEG video, it is programmed with the CameraWebServer.ino sketch, not the same but just modified by me to add more funtionalities and with inline HTML instead of gzip file.
https://github.com/espressif/arduin...braries/ESP32/examples/Camera/CameraWebServer
In my app I've a dedicate page where I added a WebView, a textbox where add the camera URL and START and STOP buttons to start/stop the video streaming.
This work well on my Nexus 7 2013 and regular browsers (Chrome, Firefox, Opera Mini) I can see the exposed ESP32 webserver with all camera controls and a button to start the video stream. I can even switch on/off remotely the flash led from the same page.
Now the problem....
For some reasons it do not work on my Asus ZenFone2 smartphone (and even other smartphones), when I start the stream (load a page) the browser show this message:
On the same device I can see the page (and the video stream) on all browsers but not in the B4A WebView.
Is there a way to fix it ?
I've found on this page one solution to fix that using an intent and pass to it the URL, but this is for AppInventor and I don't know a B4A counterpart
or other best way to fix.
http://kio4.com/arduino/247_Wemos_WebCam.htm
Please, can someone help me ?
Many thanks
I wrote an app that acts as 3D Printer, CNC Router and Laser Host controller over USB and Network.
To view remotely machines during the working process, eg while printing, engraving etc.. locally or over internet, I use ESP32CAM that stream multipart MJPEG video, it is programmed with the CameraWebServer.ino sketch, not the same but just modified by me to add more funtionalities and with inline HTML instead of gzip file.
https://github.com/espressif/arduin...braries/ESP32/examples/Camera/CameraWebServer
In my app I've a dedicate page where I added a WebView, a textbox where add the camera URL and START and STOP buttons to start/stop the video streaming.
This work well on my Nexus 7 2013 and regular browsers (Chrome, Firefox, Opera Mini) I can see the exposed ESP32 webserver with all camera controls and a button to start the video stream. I can even switch on/off remotely the flash led from the same page.
Now the problem....
For some reasons it do not work on my Asus ZenFone2 smartphone (and even other smartphones), when I start the stream (load a page) the browser show this message:
"header fields are too long for server to interpret"
On the same device I can see the page (and the video stream) on all browsers but not in the B4A WebView.
Is there a way to fix it ?
I've found on this page one solution to fix that using an intent and pass to it the URL, but this is for AppInventor and I don't know a B4A counterpart
or other best way to fix.
http://kio4.com/arduino/247_Wemos_WebCam.htm
Please, can someone help me ?
Many thanks
Last edited: