refactor(android): migrate ReactExoplayerConfig to Kotlin (#3994)
* Rename .java to .kt * refactor(android): migrate ReactExoplayerConfig to Kotlin
This commit is contained in:
committed by
GitHub
parent
4e7c64e707
commit
df9ffde5fa
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user