Wait with throwing stuck buffering error until pending load is finished
We currently check for shouldContinueLoading, which is the intention to load, not playbackInfo.isLoading, which is the actual loading state, when detecting stuck buffering issues. They only differ if the LoadControl said stop loading (based on nextLoadPosition), but there is still a load in flight (updating bufferedPosition). This may cause the exception to be thrown in edge cases that are only temporary. PiperOrigin-RevId: 307022608
Showing
with
124 additions
and
1 deletions
Please
register
or
sign in
to comment