How to handle player retry on source error?

Do we have to create a fresh instance of Bitmovin player and load the sourceConfig for retrying the playback on receiving Error callback from Bitmovin?

Or calling play() Player api would suffice for restarting the playback again on receiving the Error callback event from Bitmovin Player?

Hi @sumedhmeher.pophali,

The Bitmovin Player usually unloads the source automatically when an error happens. However, the Player instance should still be usable. So you should be able to load a new Source/SourceConfig from the error callback.

Please note that there could be slight differences depending on the platform.

Hi David,

Thank you for the information.