B4J Tutorial B4J CCTV example

Douglas Farias

Licensed User
@Erel how can i record this video on the pc? its possible with b4j?
i m using the 2° example with multiple devices suport, its possible add a button to record the imageview1 or 2 ? and how to save this on the correct format at pc?


Active Member
Licensed User

This example is similar to the previous example: http://www.basic4ppc.com/android/fo...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). See the above link for more information.

The communication is based on AsyncStreams in prefix mode.

The complete server code is less than 50 lines of code.

You should set the server ip address in the device code (ServerIp in Sub Process_Globals).
Can i use this to share the video playing on videoview?