Skip to content

Commit

Permalink
Merge pull request #4461 from albertdaurell/adaurell/design-markdown-…
Browse files Browse the repository at this point in the history
…issue

Fix design.md comments problem
  • Loading branch information
robwalch authored Dec 15, 2021
2 parents ad21302 + 0cdd7ae commit fdc9db8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,7 @@ design idea is pretty simple :
- `FRAG_LOAD_TIMEOUT` is raised by [src/loader/fragment-loader.ts][] upon xhr timeout detected by [src/utils/xhr-loader.ts][].
- if auto level switch is enabled and loaded frag level is greater than 0, this error is not fatal: in that case [src/controller/level-controller.ts][] will trigger an emergency switch down to level 0.
- if frag level is 0 or auto level switch is disabled, this error is marked as fatal and a call to `hls.startLoad()` could help recover it.
<!--
Deprecated in v1.0.0. Error will be raised as FRAG_PARSING_ERROR
- `FRAG_DECRYPT_ERROR` is raised by [src/demux/tranmuxer.ts][] upon fragment decrypting error. this error is fatal.
-->
- ~~`FRAG_DECRYPT_ERROR` is raised by [src/demux/tranmuxer.ts][] upon fragment decrypting error. this error is fatal.~~ _Deprecated in v1.0.0. Error will be raised as FRAG_PARSING_ERROR._
- `FRAG_PARSING_ERROR` is raised by [src/demux/tsdemuxer.ts][] or [src/demux/adts.ts][] upon fragment parsing error. this error is not fatal.
- `REMUX_ALLOC_ERROR` is raised by [src/remux/mp4-remuxer.ts][] upon memory allocation error while remuxing. this error is not fatal if in auto-mode and loaded frag level is greater than 0. in that case a level switch down will occur.
- `KEY_LOAD_ERROR` is raised by [src/loader/key-loader.ts][] upon xhr failure detected by [src/utils/xhr-loader.ts][].
Expand Down

0 comments on commit fdc9db8

Please sign in to comment.