chore(android): improve exoplayer logs (#3780)

* perf: ensure we do not provide callback to native if no callback provided from app

* chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size

* chore: improve issue template

* fix(android): avoid video view flickering at playback startup

* fix: improve debuging display and enable it in the sample
This commit is contained in:
Olivier Bouillet
2024-05-17 15:10:37 +02:00
committed by GitHub
parent 8a57b127d0
commit d716e1ab2a
3 changed files with 27 additions and 0 deletions

View File

@@ -936,6 +936,7 @@ class VideoPlayer extends Component {
onPlaybackRateChange={this.onPlaybackRateChange}
onPlaybackStateChanged={this.onPlaybackStateChanged}
bufferingStrategy={BufferingStrategyType.DEFAULT}
debug={{enable: true, thread: true}}
/>
</TouchableOpacity>
);