2019-09-16 16:29:31 -04:00
|
|
|
package com.brentvatne.exoplayer;
|
|
|
|
|
2023-11-18 22:13:54 +09:00
|
|
|
import androidx.media3.exoplayer.upstream.DefaultBandwidthMeter;
|
|
|
|
import androidx.media3.exoplayer.upstream.LoadErrorHandlingPolicy;
|
2019-09-16 16:29:31 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Extension points to configure the Exoplayer instance
|
|
|
|
*/
|
|
|
|
public interface ReactExoplayerConfig {
|
|
|
|
LoadErrorHandlingPolicy buildLoadErrorHandlingPolicy(int minLoadRetryCount);
|
|
|
|
|
2021-05-17 13:09:09 +03:00
|
|
|
void setDisableDisconnectError(boolean disableDisconnectError);
|
|
|
|
boolean getDisableDisconnectError();
|
|
|
|
|
2019-09-16 16:29:31 -04:00
|
|
|
DefaultBandwidthMeter getBandwidthMeter();
|
|
|
|
}
|