feat(LockCachingAudioSource): add network error handling
Try to fix:
- #1213
- #594
Done:
- Add retry mechanism for _fetch
- Do not throw exceptions on query but return Future with errors so caller could handle them gracefully
@ryanheise I'm having troubles trying to test multiple scenarios, can you please give me a hint?
I added a retry logic on the fetch method, but that's running without awaiting it.
And for some reason, if an exception is thrown there or the future returns an error, it is not being propagated to the main await, where: https://github.com/ryanheise/just_audio/pull/1398/files#diff-1425e2b963b2b8d4c9fde51b8fabf85b624477e9373c365a72bea2aa6071990bR137-R143
@ryanheise ping :)
Hi, I'm just working on getting the next major release out, but if I haven't returned to this within a week, please feel free to send another ping.
@ryanheise ping :)
New ping :)
It seems that this was deprecated, I will test the new API
It looks like all of the error handling implemented here is already handled in the latest update, just this one is still missing:
- https://github.com/ryanheise/just_audio/issues/1469