/ExoPlayerSample

This project is developed with ExoPlayer 2. You can play audio files and play video files with custom playback controls.

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.16.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


Copyright 2017 Yusuf Çakmak.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.