I checked the decoder state (call GetDecodeStat()), and found that the decoder doesn't output frame data until the decoder cache 10 framesinternally ( Number of internally cached frames is 10). Itcauses the delay output issue.
The media stream is only with I, P frames, decoderis ready to output one frame data to displayafter decoding one frame. Even with B frame, I think, it is ready to output frame after decoding three frames.
I can set the decoder in decoder order output to solve the issue, but it isn't good way. I appreicate your suggestionto solve the issue.
Thanks for the report. We are aware of the issue. The buffering mechanism is there to achieve max throughput for transcoding workloads, unfortunately is doesnt do much for live video use cases. The MSDK 3.0 will fix these latency issues. The Beta will be available this quarter.