The low-latency decoding mode has available in Android api 30.
It will keep less buffer internally, and output frame as fast as possible.
See
https://developer.android.google.cn/reference/android/media/MediaCodec?hl=en#PARAMETER_KEY_LOW_LATENCY
Signed-off-by: xufuji456 <839789...@qq.com>
---
lib
Ok, I will remove checking about api.
-- Original --
From:
""zhilizhao(??)""
> On May 22, 2023, at 14:52, xufuji456 <839789...@qq.com> wrote:
>
> The low-latency decoding mode has available in Android api 30.
> See
> https://developer.android.google.cn/reference/android/media/MediaCodec?hl=en#PARAMETER_KEY_LOW_LATENCY
>
> Signed-off-by: xufuji456 <839789...@qq.com>
>
The low-latency decoding mode has available in Android api 30.
See
https://developer.android.google.cn/reference/android/media/MediaCodec?hl=en#PARAMETER_KEY_LOW_LATENCY
Signed-off-by: xufuji456 <839789...@qq.com>
---
libavcodec/mediacodecdec.c | 7 ++-
1 file changed, 6 insertions(+), 1 del