You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Task :app:compileDebugJavaWithJavac
/android-videostreamdecodingsample/app/src/main/java/com/dji/videostreamdecodingsample/media/DJIVideoStreamDecoder.java:528: warning: [deprecation] COLOR_FormatYUV420Planar in CodecCapabilities has been deprecated
format.setInteger(MediaFormat.KEY_COLOR_FORMAT, MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420Planar);
^
/android-videostreamdecodingsample/app/src/main/java/com/dji/videostreamdecodingsample/media/DJIVideoStreamDecoder.java:797: warning: [deprecation] INFO_OUTPUT_BUFFERS_CHANGED in MediaCodec has been deprecated
} else if (outIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
^
Deprecated since years partly...
The text was updated successfully, but these errors were encountered:
It is very strange that I havn't relicate your warnings, I feel like it is related to the Java API version. It should be fine, even though it is deprecated, you can still use it. You can find their replaced function in the Android API, they should have similar effect.
Hopefully our solution can help you.
Kindly Regards,
DJI Developer Support inline1592547595.png
Deprecated since years partly...
The text was updated successfully, but these errors were encountered: