Posts

Showing posts with the label exoplayer android

Exoplayer Integration Android

Image
Before the Exoplayer, Native Mediaplayer was the only solution for playing video and audio on an android device locally or over the internet. In the beginning, playing a simple video using Native MediaPlayer was easy but if you wanted to develop a player like Youtube it would be very hard using MediaPlayer and it would take a lot of time and also you need to put in a lot of effort and you can face a lot of challenges as well. ExoPlayer is the video player currently used in the Android YouTube app. It’s not a part of android native it’s a library that was developed by Google and maintained by Google. Using the ExoPlayer we can manage all audio and video-related stuff on our behalf and we can use a few methods and classes for developing such a good player. We can customize the player UI as well using Exoplayer. ExoPlayer was built and developed using Android MediaCodec API, which was released in Android 4.1 (API level 16 - Jelly bean). So, if we want to use Exoplayer in our app we need t...