This is based on the original example
www.b4x.com
GitHub:
https://github.com/pyhoon/CCTV-example-B4J
https://github.com/pyhoon/CCTV-example-B4A
The old B4J example is using xml layout which is no longer supported.
The old B4A example is also not supporting runtime permission.
I have made some modification to both projects now to use B4XPages and make them work for current version of B4A and B4J.
Some features like saving picture, camera effects and error setting camera size parameters in CamExClass are still not working and need enhancements.
B4J CCTV example
This example is similar to the previous example: http://www.b4x.com/android/forum/threads/android-based-closed-circuit-tv-cctv-example.23601/#content The server is now implemented in B4J. In order to run this example you will need to allow incoming connections on port 17178 (or other port)...

GitHub:
https://github.com/pyhoon/CCTV-example-B4J
https://github.com/pyhoon/CCTV-example-B4A
The old B4J example is using xml layout which is no longer supported.
The old B4A example is also not supporting runtime permission.
I have made some modification to both projects now to use B4XPages and make them work for current version of B4A and B4J.
Some features like saving picture, camera effects and error setting camera size parameters in CamExClass are still not working and need enhancements.