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

HLS Adaptive Bitrate Files Not Generated #178

Open
PranayPant opened this issue Sep 26, 2024 · 0 comments
Open

HLS Adaptive Bitrate Files Not Generated #178

PranayPant opened this issue Sep 26, 2024 · 0 comments

Comments

@PranayPant
Copy link

Summary

The manifest file under /opt/data/hls/<STREAM_NAME>/index.m3u8 does not include any information about resolutions or dimensions, preventing the browser hls player from requesting the appropriate encoded video as per resolution and network latency.

Reproduction

  1. Clone repo
  2. Run docker compose up
  3. Open OBS --> Settings --> Use rtmp://localhost:1935/hls for Custom Server with stream key hello as shown below.
    image
  4. Request http://localhost:8080/live/hello/index.m3u8 from any HLS player from the browser.
  5. Throttle network speed in DevTools as shown below (Chrome browser)
    image
  6. Observe payload size of each .ts segment is the same, causing buffering
  7. Inspect files in docker container under /opt/data/hls/hello. No adaptive resolution files found.

Video Walkthrough

screen-capture_960x720.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant