Read byte array from surface?

Is it possible to read an array of bytes from the surface?

As in the Camera API, we have a callback from setPreviewCallback()here inonPreviewFrame(byte[])

we have access to byte array. Just as we have something straight from SurfaceView?

+5
source share

All Articles