When decoding H.264 live video using DMAI, there is a function " Vdec2_process(hDecoder, hInBuf, hDstBuf) " , where hInBuf is a buffer built for live video data, and decoded data is put into hDstBuf.
The size of hInBuf should be Vdec2_getInBufSize(hDecoder) or more, so we have to fill enough live video data with hInBuf , which means waiting a enough time dalta to get the enough data. This result in a notable datency.
How to decrease the latency as less as possible ?
Thanks.