- Call setYuvDataCallback to register a Yuv data callback.
- Call enabledYuvData to enable Yuv data.
- If your Android SDK version is greater than 21, the YUV data format is YUV420Planar. Otherwise, it is YUV420SemiPlanar.
Note: Once you have enabled the Yuv video data, the video live view will be disabled. So the you cannot get video live view and Yuv video data at the same time.
Comments
0 comments
Please sign in to leave a comment.