2019-09-16 14:29:31 -06:00
|
|
|
package com.brentvatne.exoplayer;
|
|
|
|
|
|
|
|
import com.google.android.exoplayer2.upstream.DefaultBandwidthMeter;
|
|
|
|
import com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Extension points to configure the Exoplayer instance
|
|
|
|
*/
|
|
|
|
public interface ReactExoplayerConfig {
|
|
|
|
LoadErrorHandlingPolicy buildLoadErrorHandlingPolicy(int minLoadRetryCount);
|
|
|
|
|
2021-05-17 04:09:09 -06:00
|
|
|
void setDisableDisconnectError(boolean disableDisconnectError);
|
|
|
|
boolean getDisableDisconnectError();
|
|
|
|
|
2019-09-16 14:29:31 -06:00
|
|
|
DefaultBandwidthMeter getBandwidthMeter();
|
|
|
|
}
|