Vitamio-with-librtmp
Vitamio-with-librtmp copied to clipboard
Laggy video
Video frames are lagging every 3-5 seconds while playing the RTMP stream. I've tried by changing buffer sizes and changing video quality, didn't work.
Any suggestions?
yeah your are right.
also you can get buffer percentage by listening bufferingupdatelistener.
You can start play when buffer percentage is %1 or any other value you want.
you may also want to listen infolistener like the example below https://www.vitamio.org/en/2013/Tutorial_0509/10.html
I hope it can help you. It is a complicated issue.