Move back to `UnexpectedDiscontinuityException` extending a `RuntimeException`
This avoids massive changes to method signatures to add throws. Also, took suggestion to make it an `IllegalStateException`. Move the catch outside of the finally that sets `nextLoadPosition` (this allows for possible recovery by reseting the `Extractor` and `TimestampAdjuster`). Lastly, took the suggestion to make a minimum value for the tolerance (especially usefull for very short i-Frame only segments).
Showing
with
14 additions
and
8 deletions
Please
register
or
sign in
to comment