mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00
Temporary fix to prevent premature failures during HLS playbacks II.
This commit is contained in:
parent
7c2d635565
commit
119c473606
@ -131,7 +131,9 @@ public class MetadataTrackRenderer<T> extends TrackRenderer implements Callback
|
||||
try {
|
||||
source.continueBuffering(trackIndex, positionUs);
|
||||
} catch (IOException e) {
|
||||
throw new ExoPlaybackException(e);
|
||||
// TODO: This should be propagated, but in the current design propagation may occur too
|
||||
// early. See [Internal b/22291244].
|
||||
// throw new ExoPlaybackException(e);
|
||||
}
|
||||
|
||||
if (!inputStreamEnded && pendingMetadata == null) {
|
||||
|
@ -136,7 +136,9 @@ public class Eia608TrackRenderer extends TrackRenderer implements Callback {
|
||||
try {
|
||||
source.continueBuffering(trackIndex, positionUs);
|
||||
} catch (IOException e) {
|
||||
throw new ExoPlaybackException(e);
|
||||
// TODO: This should be propagated, but in the current design propagation may occur too
|
||||
// early. See [Internal b/22291244].
|
||||
// throw new ExoPlaybackException(e);
|
||||
}
|
||||
|
||||
if (isSamplePending()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user