/exoplayerkotlin

Primary LanguageKotlinApache License 2.0Apache-2.0

ExoPlayer2 Sample Project

I created this repository for developers who recently start learning ExoPlayer. This repository demonstrates the basic way how we can play audio/video files/URLs.

ExoPlayer version : 2.18.1

RadioPlayerActivity

This activity contains an example of how we can create basically player object and stream audio from URL.

VideoPlayerActivity

This activity contains an example of how we can create basically player object and play video from URL with custom player controls.

Please follow the Google official guide and medium publications for more advanced topics.

-Medium Publication -Official Guide

ExoPlayer with Jetpack Compose

If you wonder about how we can use ExoPlayer with Jetpack Compose, you can look for my other example repository.

Github Repository