Skip to content

Commit

Permalink
Fixed an error in the documentation on stream-controller.ts (issue vi…
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-liu committed Apr 21, 2024
1 parent 773fe88 commit 74ca932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/design.md
Expand Up @@ -90,7 +90,7 @@ design idea is pretty simple :

- [src/controller/stream-controller.ts][]
- stream controller is in charge of:
- triggering BUFFER_RESET on MANIFEST_PARSED or startLoad()
- triggering BUFFER_RESET on MANIFEST_LOADING
- **ensuring that media buffer is filled as per defined quality selection logic**.
- if buffer is not filled up appropriately (i.e. as per defined maximum buffer size, or as per defined quality level), stream controller will trigger the following actions:
- retrieve "not buffered" media position greater then current playback position. this is performed by comparing video.buffered and video.currentTime.
Expand Down

0 comments on commit 74ca932

Please sign in to comment.