Making Video Load Faster In Videoview
I play a video in a videoview from an URL...everything works fine and even the video plays But the only problem is that the video takes almost 10 seconds to start playing which mig
Solution 1:
Consider using Exoplayer. You can find the open source project here: https://github.com/google/ExoPlayer
It uses Dynamic Adaptive Streaming over HTTP (DASH),breaks long content into HTTP segments.
Solution 2:
You can follow this tutorial step-by-step to integrate ExoPlayer (ExoPlayer is the video player running in the Android YouTube app.) to your app, it's not that complicated as you thought. https://codelabs.developers.google.com/codelabs/exoplayer-intro/index.html#0 By the way, there are a lot of good assignments in Google CodeLabs, you should check it out.
Post a Comment for "Making Video Load Faster In Videoview"