mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Temporary fix to prevent premature failures during HLS playbacks II.
This commit is contained in:
parent
7c2d635565
commit
119c473606
2 changed files with 6 additions and 2 deletions
|
|
@ -131,7 +131,9 @@ public class MetadataTrackRenderer<T> extends TrackRenderer implements Callback
|
||||||
try {
|
try {
|
||||||
source.continueBuffering(trackIndex, positionUs);
|
source.continueBuffering(trackIndex, positionUs);
|
||||||
} catch (IOException e) {
|
} 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) {
|
if (!inputStreamEnded && pendingMetadata == null) {
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,9 @@ public class Eia608TrackRenderer extends TrackRenderer implements Callback {
|
||||||
try {
|
try {
|
||||||
source.continueBuffering(trackIndex, positionUs);
|
source.continueBuffering(trackIndex, positionUs);
|
||||||
} catch (IOException e) {
|
} 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()) {
|
if (isSamplePending()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue