yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

video is delayed for nearly 6 secs #326

Open xingbod opened 8 years ago

xingbod commented 8 years ago

I user vitamio for a live video app demo and find that the video always delay for 5-8 secs, can any one help me to make the delay time lower? or the configuration??

MythodeaLoL commented 8 years ago

maybe this help you https://github.com/yixia/VitamioBundle/issues/321

xingbod commented 8 years ago

Sure, I have tried #321 solution, it has no effect

ghost commented 8 years ago

Try with RTSP instead of RTMP protocol and set buffer size 1000 as well before MediaPlayer.start().

MythodeaLoL commented 8 years ago

Hello @charlesLucky, I updated the topic with new information, may not help, but worth checking out. https://github.com/yixia/VitamioBundle/issues/321#issuecomment-162062443

xingbod commented 8 years ago

Thanks @FloridaStream I will try this

sreyasvpariyath commented 6 years ago

call mVideoView.seekTo(System.currentTimeMillis()); when you see a delay.