Please provide the following:
- SDK Version: 33
- Platforms(Android/iOS/web/all):
Android
Hi guys, I am getting the following error when playing a video on Android. The error is thrown exactly at 1min
Encountered a fatal error during playback: Player error: javax.net.ssl.SSLException: Read error: ssl=0xd3f23b00: I/O error during system call, Connection reset by peer
I have noticed that you guys asked us for sending you the error in the code you provided.
_onPlaybackStatusUpdate = playbackStatus => {
if (!playbackStatus.isLoaded) {
// Update your UI for the unloaded state
if (playbackStatus.error) {
console.log(`Encountered a fatal error during playback: ${playbackStatus.error}`);
// Send Expo team the error on Slack or the forums so we can help you debug!
}
} else {
// Update your UI for the loaded state
if (playbackStatus.isPlaying) {
// Update your UI for the playing state
this.setState({ buffering: false })
} else {
// Update your UI for the paused state
}
if (playbackStatus.isBuffering) {
// Update your UI for the buffering state
this.setState({ buffering: true })
}
if (playbackStatus.didJustFinish && !playbackStatus.isLooping) {
// The player has just finished playing and will stop. Maybe you want to play something else?
this.setModalVisible(false)
}
}
};
Any clue?