Best way to build a C++ program that communicates with an Android app -


i'm working right on opencv project, video processing.

i have c++ program runs on pc, cameras connected, , calculation , stuff , android app controls c++ program (something aperture settings , starting special calculations etc) , has livestream of 1 camera.

the question is: how can these apps communicate. thought 2 tcp sockets.

  • one livestream
  • one control

what think? work or better way implement this.

thank much.

you've got guess. sockets solution you.

but tcp socket video stream bad practice. in case of minor network issues you'll annoying hangs, etc.

use udp socket livestream. ready, of packets can missed if wifi signal low or smth.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -