Keeping preview callback while recording video?
问题 I'm currently using onPreviewCallback so I can capture frames from camera when in preview and stream them via http. That works but then I issue a command to start recording and, it seems, I do not have a preview callback anymore. So, how do I keep the preview callback so I can both send the frames from the surface to my server AND record the video on the device? 回答1: I didn't work for quite long time with Android Camera. However, as I remember 1) onPreviewCallback isn't called while you are