This is a port of this example to B4i: https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73792/
The code is almost identical.
It turns the iOS device into a CCTV server. You can connect to the device from one or more browsers to see the captured video.
The frame rate is currently set to 6 frames per second. You can change it by modifying IntervalMS. Set it to 50 (1000 / 50 = 20 fps) and it will look much better.
The code is almost identical.
It turns the iOS device into a CCTV server. You can connect to the device from one or more browsers to see the captured video.
The frame rate is currently set to 6 frames per second. You can change it by modifying IntervalMS. Set it to 50 (1000 / 50 = 20 fps) and it will look much better.
Attachments
Last edited: