Temporary fix to prevent premature failures during HLS playbacks II.

This commit is contained in:
Oliver Woodman 2015-07-17 11:30:48 +01:00
parent 7c2d635565
commit 119c473606
2 changed files with 6 additions and 2 deletions

View File

@ -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) {

View File

@ -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()) {