Skip to content

Commit a656ec7

Browse files
authored
Fix TTML parsing error catching (Dash-Industry-Forum#4704)
1 parent f288ab0 commit a656ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/streaming/text/TextSourceBuffer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ function TextSourceBuffer(config) {
339339

340340
} catch (e) {
341341
fragmentModel.removeExecutedRequestsBeforeTime();
342-
this.remove();
343-
logger.error('TTML parser error: ' + e.message);
342+
remove();
343+
logger.error('TTML parser error: ' + e);
344344
}
345345
}
346346
}

0 commit comments

Comments
 (0)