Example MJPEG_CCTV (https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73792/)
implements an ip server for streaming a camera image from an Android phone.
I need to organize a second port on the same server - a control channel. It will receive commands from the client application 10 times per second and send telemetry data (several tens of simple digital parameters) to the client 10 times per second.
Therefore, I need the server to listen on two ports, and to process commands and telemetry on the command port in parallel with the transmission of the video stream.
How to set such a mode of your server so that:
a) Two independent desks (or channels), where is the second channel interactive (reception and transmission of codes)?
b) An independent command processing cycle against the background of constant transmission of video to another port ?.
Thank you for any advice
implements an ip server for streaming a camera image from an Android phone.
I need to organize a second port on the same server - a control channel. It will receive commands from the client application 10 times per second and send telemetry data (several tens of simple digital parameters) to the client 10 times per second.
Therefore, I need the server to listen on two ports, and to process commands and telemetry on the command port in parallel with the transmission of the video stream.
How to set such a mode of your server so that:
a) Two independent desks (or channels), where is the second channel interactive (reception and transmission of codes)?
b) An independent command processing cycle against the background of constant transmission of video to another port ?.
Thank you for any advice