Skip to content

Instantly share code, notes, and snippets.

View rohanprasadofficial's full-sized avatar
🏠
Building digital products

Rohan Prasad rohanprasadofficial

🏠
Building digital products
View GitHub Profile
@rohanprasadofficial
rohanprasadofficial / ExoPlayer.kt
Created June 14, 2020 05:55
Summary of the implementation of the Exoplayer (By Google ) and VideoCache (https://github.com/danikula/AndroidVideoCache)
//ADD the dependencies to the project
//Billing Library
implementation 'com.android.billingclient:billing:2.2.1'
implementation 'com.android.billingclient:billing-ktx:2.2.0'
implementation 'com.danikula:videocache:2.7.1'
//Proxy function to create video caching in the app
private fun getProxy(): HttpProxyCacheServer? {