From 0d46e24f944e41c838b826dc05e9e2ee47c75d68 Mon Sep 17 00:00:00 2001 From: Steve Mayhew Date: Mon, 16 Mar 2020 11:53:49 -0700 Subject: [PATCH] Update comments for DASH Update the comment to indicate the DASH equivalent use case for the exception. --- .../exoplayer2/source/UnexpectedDiscontinuityException.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/source/UnexpectedDiscontinuityException.java b/library/core/src/main/java/com/google/android/exoplayer2/source/UnexpectedDiscontinuityException.java index d6033fef2d..2d1a784c10 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/source/UnexpectedDiscontinuityException.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/source/UnexpectedDiscontinuityException.java @@ -27,7 +27,9 @@ import com.google.android.exoplayer2.upstream.DataSpec; * chunk source (the origin server). * * For HLS, the origin server is required to break segments at continuity boundaries by the HLS Pantos spec - * (EXT-X-DISCONTINUITY {@see https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-04#section-4.4.2.3}) + * (EXT-X-DISCONTINUITY {@see https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-04#section-4.4.2.3}). + * In DASH, segments must be divided into periods when there are timestamp discontinuities + * {@see https://www.w3.org/2018/12/webmediaguidelines.html#server-side-ad-insertion} * */ public final class UnexpectedDiscontinuityException extends RuntimeException {