Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation error on "stream-controller.ts" in "design.md" under "docs" folder #6366

Closed
5 tasks done
neil-liu opened this issue Apr 21, 2024 · 0 comments · Fixed by #6367
Closed
5 tasks done

Documentation error on "stream-controller.ts" in "design.md" under "docs" folder #6366

neil-liu opened this issue Apr 21, 2024 · 0 comments · Fixed by #6367
Milestone

Comments

@neil-liu
Copy link
Contributor

What version of Hls.js are you using?

v1.5.8

What browser (including version) are you using?

Chrome 123.0.6312.106

What OS (including version) are you using?

Windows 10

Test stream

Any test stream on the demo web site can be used to verify if needed. https://hlsjs.video-dev.org/demo/

Configuration

{}

Additional player setup steps

None

Checklist

Steps to reproduce

  1. Open link: https://github.com/video-dev/hls.js/blob/master/docs/design.md
  2. Scroll to the line that contains text 'src/controller/stream-controller.ts'
  3. Under above line, the first bullet point says 'stream controller is in charge of:'. The next line says:
    "triggering BUFFER_RESET on MANIFEST_PARSED or startLoad()"

Expected behaviour

The line that that says "triggering BUFFER_RESET on MANIFEST_PARSED or startLoad()" is not correct because BUFFER_RESET is (and only is) triggered on MANIFEST_LOADING. This can be confirmed in "onManifestLoading()" of "stream-controller.ts". Therefore, the line should say "triggering BUFFER_RESET on MANIFEST_LOADING" instead.

What actually happened?

Incorrect description was displayed:
"triggering BUFFER_RESET on MANIFEST_PARSED or startLoad()"

Console output

N/A. The issue is just an error with the documentation about 'src/controller/stream-controller.ts'.

Chrome media internals output

N/A
@neil-liu neil-liu added Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Apr 21, 2024
@robwalch robwalch added Documentation and removed Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Apr 22, 2024
@robwalch robwalch added this to the 1.6.0 milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants