videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.51k stars 7.4k forks source link

HLS VOD playback stops after 10 seconds #7655

Open MirkoHeinkel opened 2 years ago

MirkoHeinkel commented 2 years ago

Description

The Playback of a m3u8 playlist stops ("waiting") after 10 seconds without further messages. Other players like VLC or 'hls' do playback the whole m3u8 list perfectly. It's not an issue of segmenter restart and missing "#EXT-X-DISCONTINUITY" tag in the playlist!

Steps to reproduce

use this playlist: https://server-th-media1.worldtv.global/test.m3u8 and this player (or any other videojs player) https://videojs.github.io/videojs-contrib-hls/

Results

playback stops after 10 seconds with event "waiting"

Expected

play all segments seamlessly

welcome[bot] commented 2 years ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

video-archivist-bot commented 2 years ago

Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:

misteroneill commented 2 years ago

It definitely stops playing, but playback is not my area of expertise.

Our guess is there is something in the content of the TS segments that mux.js or similar does not like, but that will have to wait until someone with more playback expertise is available.

video-archivist-bot commented 2 years ago

Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:

MirkoHeinkel commented 2 years ago

Hi misteroneill, thanks for your answer. You provided this link for me, to test with the actual VHS version: https://videojs-http-streaming.netlify.app/?debug=false&autoplay=false&muted=false&fluid=false&minified=false&sync-workers=false&liveui=true&llhls=false&url=https%3A%2F%2Fserver-th-media1.worldtv.global%2Ftest.m3u8&type=application%2Fx-mpegURL&keysystems=&buffer-water=false&exact-manifest-timings=false&pixel-diff-selector=false&network-info=false&override-native=true&preload=auto&mirror-source=true

same issue there, it stops at the same location. is there any more-active forum than this where i can post my issue and might get help ? thanks so much in advance Mirko

video-archivist-bot commented 2 years ago

Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:

phloxic commented 2 years ago

You are serving the manifest with content-type text/plain, and the ts files with content-type application/octet-stream, try something like application/x-mpegurl and video/mp2t respectively.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.