An open API service indexing awesome lists of open source software.

https://github.com/Sriharia/ExoPlayer-StatsForNerds

Demo app to showcase ExoPlayer customisations like Stats-For-Nerds & Improved buffering.
https://github.com/Sriharia/ExoPlayer-StatsForNerds

android drip-feeding exoplayer exoplayer-demo improved-buffering max-buffer mpandroidchart stats stats-for-nerds

Last synced: 3 months ago
JSON representation

Demo app to showcase ExoPlayer customisations like Stats-For-Nerds & Improved buffering.

Awesome Lists containing this project

README

          

Demo app to showcase Google ExoPlayer customisations like player stats extractions, Improved buffering.

More information on ExoPlayer documentation can be found [here][]

[here]: http://google.github.io/ExoPlayer/

### Developed by
[Srihari Yachamaneni](https://github.com/Sriharia) ([@srihari_y](https://twitter.com/srihari_y))

# Features #
## Stats for Nerds ##
This demo app depicts ExoPlayer internal stats in dynamic charts using [MPAndroidChart][] library.
These stats include:


  • Connection Speed

  • Buffer Size in Seconds

  • Network Activity

  • Dropped Frames

![Sample](screens/charts.jpg?raw=true "Demo app stats")

This is achieved by injecting a listener to a [Customised][] version of [LoadControl][] component of ExoPlayer

[MPAndroidChart]: https://github.com/PhilJay/MPAndroidChart
[Customised]:
https://github.com/Sriharia/ExoPlayer-StatsForNerds/blob/master/demo/src/main/java/com/google/android/exoplayer2/demo/CustomLoadControl.java
[LoadControl]: https://github.com/google/ExoPlayer/blob/d979469659861f7fe1d39d153b90bdff1ab479cc/library/core/src/main/java/com/google/android/exoplayer2/DefaultLoadControl.java

## Improved Buffering ##
This demo also helps you to find a way to change max buffer time by applying "drip-feeding" method.
This is achieved by changing certain parameters in custom LoadControl component of ExoPlayer

Check [CustomLoadControl][] class for more info on how buffer improvements are handled.

[CustomLoadControl]: https://github.com/Sriharia/ExoPlayer-StatsForNerds/blob/master/demo/src/main/java/com/google/android/exoplayer2/demo/CustomLoadControl.java