* feat(android): implement AndroidX media3 dependencies * refactor(android): remove duplicate code * refactor(android): remove unused codes * feat(android): replace ExoPlayer2 with AndroidX media3 * fix(android): move default properties to gradle.properties * revert(android): prevent security exception * chore: align indent * chore: remove redundant comments * chore: reorder import * fix: apply media3's legacy player control view
17 lines
513 B
Java
17 lines
513 B
Java
package com.brentvatne.exoplayer;
|
|
|
|
import androidx.media3.exoplayer.upstream.DefaultBandwidthMeter;
|
|
import androidx.media3.exoplayer.upstream.LoadErrorHandlingPolicy;
|
|
|
|
/**
|
|
* Extension points to configure the Exoplayer instance
|
|
*/
|
|
public interface ReactExoplayerConfig {
|
|
LoadErrorHandlingPolicy buildLoadErrorHandlingPolicy(int minLoadRetryCount);
|
|
|
|
void setDisableDisconnectError(boolean disableDisconnectError);
|
|
boolean getDisableDisconnectError();
|
|
|
|
DefaultBandwidthMeter getBandwidthMeter();
|
|
}
|