refactor(android): migrate ReactExoplayerConfig to Kotlin (#3994)

* Rename .java to .kt

* refactor(android): migrate ReactExoplayerConfig to Kotlin
This commit is contained in:
Seyed Mostafa Hasani
2024-07-15 13:28:07 +03:30
committed by GitHub
parent 4e7c64e707
commit df9ffde5fa
3 changed files with 14 additions and 25 deletions

View File

@@ -0,0 +1,10 @@
package com.brentvatne.exoplayer
import androidx.media3.exoplayer.upstream.DefaultBandwidthMeter
import androidx.media3.exoplayer.upstream.LoadErrorHandlingPolicy
interface ReactExoplayerConfig {
fun buildLoadErrorHandlingPolicy(minLoadRetryCount: Int): LoadErrorHandlingPolicy
var disableDisconnectError: Boolean
val bandwidthMeter: DefaultBandwidthMeter
}