I am developing an app in which I want to send some frames from a remote device to a client android device.
I referred to this project: droidVncServer
I can't figure out how they are sending frames from the server to the client and then display it on the client device using surface flinger .
Any help will be appreciated.
Maybe you can use cmd
adb shell screencap
and send frames either in png format or in byte stream to the client android device.Not an answer to your question, but may be an solution for your problem.