• Stars
    star
    383
  • Rank 111,995 (Top 3 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created about 8 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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