Skip to content

Commit

Permalink
demo page: don't destroy hls context in case of PARSING_ERROR, if err…
Browse files Browse the repository at this point in the history
…or is not fatal
  • Loading branch information
mangui committed Jul 8, 2015
1 parent 19c347d commit f454005
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,7 @@ <h4> Stats Display </h4>
$("#HlsStatus").text("timeout while trying to load level playlist");
break;
case Hls.ErrorDetails.FRAG_PARSING_ERROR:
hls.destroy();
$("#HlsStatus").text("Parsing Error:" + data);
$("#buffered_c").width(0);
$("#HlsStatus").text("Parsing Error:" + data.details);
break;
case Hls.ErrorDetails.FRAG_APPENDING_ERROR:
$("#HlsStatus").text("Frag Appending Error");
Expand Down

0 comments on commit f454005

Please sign in to comment.