Consti10 / LiveVideo10ms

Real time video decoding on android
GNU Lesser General Public License v3.0
75 stars 22 forks source link

Question about decoding time 10ms #8

Open xueshenan opened 1 year ago

xueshenan commented 1 year ago

Hi, I use this library to play rtp live video stream. It works much better than Gstreamer, and have less latency.

My question is about the decoding latency. I don't understand why the decode need 10ms or more to decode one video frame. My rtp source video is 720p 120 fps only I frame. in my opinion, the hardware decoder can decode the video in less than 1ms. So I think the decoder may cache the video frame and cause the 10ms latency. I have try to enable the low latency mode, seems no effect.