# How to handle player retry on source error?

**URL:** <https://community.bitmovin.com/t/how-to-handle-player-retry-on-source-error/2560>\
**Category:** Support\
**Tags:** bitmovin-player, bitmovin\
**Created:** [January 5, 2024, 9:43am UTC](https://community.bitmovin.com/t/how-to-handle-player-retry-on-source-error/2560 "2024-01-05T09:43:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumedhmeher.pophali](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@sumedhmeher.pophali](https://community.bitmovin.com/u/sumedhmeher.pophali)\
**Post date:** [January 5, 2024, 9:43am UTC](https://community.bitmovin.com/t/how-to-handle-player-retry-on-source-error/2560/1 "2024-01-05T09:43:11Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![davidsteinacher](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/davidsteinacher/32/163_2.png) [@davidsteinacher](https://community.bitmovin.com/u/davidsteinacher)\
**Post date:** [January 6, 2024, 12:48pm UTC](https://community.bitmovin.com/t/how-to-handle-player-retry-on-source-error/2560/2 "2024-01-06T12:48:46Z")

</div>

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._

---

<div class="post-metadata">

**Author:** ![sumedhmeher.pophali](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@sumedhmeher.pophali](https://community.bitmovin.com/u/sumedhmeher.pophali)\
**Post date:** [January 9, 2024, 3:22pm UTC](https://community.bitmovin.com/t/how-to-handle-player-retry-on-source-error/2560/3 "2024-01-09T15:22:41Z")

</div>

Hi David,

Thank you for the information.
