I have a Camera attached to a device. Its is connected to a PC and give me RGB 8*3=24 bit raw video file. I want to transfer the file over wifi and buffer/ stream live on my android app surface view. How should i do it?
For now what i did, I took a RGB file on my server, read the file as InputStream and convereted that input stream in Byte Array. convertes that byte array of rgb in pixels and then drew a bitmap from the pixels. This is the least optimized way. I want to know the correct approach to solve this problem
For now what i did, I took a RGB file on my server, read the file as InputStream and convereted that input stream in Byte Array. convertes that byte array of rgb in pixels and then drew a bitmap from the pixels. This is the least optimized way. I want to know the correct approach to solve this problem