Android - Buffering Lag with VideoView
I am using VideoView t开发者_StackOverflow社区o display a video in my app. The problem is that, once the layout gets created there is lag of almost 10-30 seconds before which the video starts to play. I can see in LogCat that the video is buffering during the lag.
Is there a way I can minimize this lag, or tell MediaPlayer to play the video sooner?
Thanks Chris
if you are using RTSP Streaming, buffering is the reason of what you have more seamless playback. if you are playing an Audio/Video file reduce the bit rate encoding of your files.
精彩评论