Playback seems stuck Chrome 53
Hello, I still have problem with this issue. This is very often with not stable internet connection. There is not network error, but playback stops. Could you help me understand log from console?
Environment
- [X] The stream has correct Access-Control-Allow-Origin headers (CORS)
- [ X] There are no network errors such as 404s in the browser console when trying to play the stream
- [X ] The issue observed is not already reported by searching on Github under https://github.com/dailymotion/hls.js/issues
- [X ] The issue occurs in the latest reference client on http://dailymotion.github.io/hls.js/demo and not just on my page
Console output
hls.11102016.min.js:6 [log] > live playlist, reload in 21208772 ms
2016-10-27 16:04:55.528 hls.11102016.min.js:6 [log] > level 0 loaded [1,1],duration:21210.06
2016-10-27 16:04:55.529 hls.11102016.min.js:6 [log] > live playlist - outdated PTS, unknown sliding
2016-10-27 16:04:55.530 hls.11102016.min.js:6 [log] > live playlist, switching playlist, unknown, load middle frag : 1
2016-10-27 16:04:55.531 hls.11102016.min.js:6 [log] > Loading 1 of [1 ,1],level 0, currentTime:6435.525365,bufferEnd:6440.000
2016-10-27 16:04:55.532 hls.11102016.min.js:6 [log] > engine state transition from IDLE to FRAG_LOADING
2016-10-27 16:04:57.024 hls.11102016.min.js:6 XHR finished loading: GET "http://livecdn.popler.tv/230301757/_definst_/opera_180p/media_w4_1.ts".value @ hls.11102016.min.js:6value @ hls.11102016.min.js:6value @ hls.11102016.min.js:4value @ hls.11102016.min.js:4value @ hls.11102016.min.js:4e.emit @ hls.11102016.min.js:1i.trigger @ hls.11102016.min.js:4value @ hls.11102016.min.js:2value @ hls.11102016.min.js:2value @ hls.11102016.min.js:2value @ hls.11102016.min.js:2value @ hls.11102016.min.js:2value @ hls.11102016.min.js:2value @ hls.11102016.min.js:4value @ hls.11102016.min.js:4e.emit @ hls.11102016.min.js:1i.trigger @ hls.11102016.min.js:4value @ hls.11102016.min.js:5value @ hls.11102016.min.js:6
2016-10-27 16:04:57.025 hls.11102016.min.js:6 [log] > Loaded 1 of level 0
2016-10-27 16:04:57.026 hls.11102016.min.js:6 [log] > engine state transition from FRAG_LOADING to PARSING
2016-10-27 16:04:57.027 hls.11102016.min.js:6 [log] > Demuxing 1 of [1 ,1],level 0, cc 0
2016-10-27 16:04:57.030 blob:http://pw.teatrwielki.pl/d8fcc9e5-2876-4dcd-9894-f9b92fa25dea:6 [log] > level switch detected
2016-10-27 16:04:57.031 blob:http://pw.teatrwielki.pl/d8fcc9e5-2876-4dcd-9894-f9b92fa25dea:6 [log] > manifest codec:undefined,ADTS data:type:2,sampleingIndex:3[48000Hz],channelConfig:2
2016-10-27 16:04:57.033 blob:http://pw.teatrwielki.pl/d8fcc9e5-2876-4dcd-9894-f9b92fa25dea:6 [log] > parsed codec:mp4a.40.5,rate:48000,nb channel:2
2016-10-27 16:04:57.069 blob:http://pw.teatrwielki.pl/d8fcc9e5-2876-4dcd-9894-f9b92fa25dea:6 [log] > audio mp4 timescale :48000
2016-10-27 16:04:57.070 hls.11102016.min.js:6 [log] > main track:audio,container:audio/mp4,codecs[level/parsed]=[undefined/mp4a.40.5]
2016-10-27 16:04:57.070 hls.11102016.min.js:6 [log] > main track:video,container:video/mp4,codecs[level/parsed]=[undefined/avc1.42c01e]
2016-10-27 16:04:57.072 hls.11102016.min.js:6 [log] > parsed audio,PTS:[6468.992,6480.000],DTS:[6468.992/6480.000],nb:516,dropped:0
2016-10-27 16:04:57.073 hls.11102016.min.js:6 [log] > parsed video,PTS:[6470.038,6480.038],DTS:[6470.038/6480.038],nb:250,dropped:0
2016-10-27 16:04:57.074 hls.11102016.min.js:6 [log] > engine state transition from PARSING to PARSED
2016-10-27 16:04:57.077 hls.11102016.min.js:6 [log] > main buffered : [5403.008,6070.015999][6070.038,6199.999999][6200.038,6310.015999][6310.038,6439.999999][6470.038,6479.999999]
2016-10-27 16:04:57.077 hls.11102016.min.js:6 [log] > engine state transition from PARSED to IDLE
2016-10-27 16:04:57.078 hls.11102016.min.js:6 [log] > buffer end: 6439.999999 is located too far from the end of live sliding playlist, reset currentTime to : 6468.992
2016-10-27 16:04:57.078 hls.11102016.min.js:6 [log] > adjust currentTime from 6468.992 to next buffered @ 6470.038 + nudge 0
2016-10-27 16:04:57.079 hls.11102016.min.js:6 [log] > media seeking to 6470.038
2016-10-27 16:04:57.079 hls.11102016.min.js:6 [log] > media seeking to 6470.038
2016-10-27 16:04:57.101 hls.11102016.min.js:6 [log] > media seeked to 6470.038538
2016-10-27 16:05:08.950 hls.11102016.min.js:6 [log] > playback seems stuck @6480
For media errors reported on Chrome browser, please also paste the output of chrome://media-internals
from the logs it looks like you have a sliding live playlist with only one fragment ? plz share logs from start,playback is stuck but the playlist is not refreshing and I have no clue about your playlist target duration
I noticed that sometimes (probably due to network problem) loading of chunk never ends. Normally it should be cancel after timeout. Player is not loading next chunks (only m3u8 files) and playback stucks. I tired to change fragLoadingTimeOut but it is not working. I'm using Chrome browser and latest master hls.js with flowplayer.
indeed, plz share logs from scratch once reproduced
I'll try, but is not so simple to catch that situation:)
I catch the problem. I'm not sure that it is exactly the same situation I wrote before, but playback also stuck.
Hi, I had today the same situation. Time of loading last chunks was almost 32s (chunk duration 10s). After that event only manifest file was loaded and I can see errors in console.
hls.02112016.min.js:6 XHR finished loading: GET "http://live3.twon.popler.tv/publishlive_edge2/smil:opera.smil/media-u6wao0zcj_b248000_slPL_24461.ts".value @ hls.02112016.min.js:6value @ hls.02112016.min.js:6value @ hls.02112016.min.js:4value @ hls.02112016.min.js:4value @ hls.02112016.min.js:4i.emit @ hls.02112016.min.js:1n.trigger @ hls.02112016.min.js:4value @ hls.02112016.min.js:2value @ hls.02112016.min.js:2value @ hls.02112016.min.js:2value @ hls.02112016.min.js:2value @ hls.02112016.min.js:2value @ hls.02112016.min.js:3value @ hls.02112016.min.js:3value @ hls.02112016.min.js:4value @ hls.02112016.min.js:4i.emit @ hls.02112016.min.js:1n.trigger @ hls.02112016.min.js:4value @ hls.02112016.min.js:1 2016-11-20 20:33:41.665 hls.02112016.min.js:6 [log] > Loaded 24461 of [24464 ,24466],level 0 2016-11-20 20:33:41.665 hls.02112016.min.js:6 [log] > engine state transition from FRAG_LOADING to PARSING 2016-11-20 20:33:41.665 hls.02112016.min.js:6 [log] > Parsing 24461 of [24464 ,24466],level 0, cc 0 2016-11-20 20:33:42.193 hls.02112016.min.js:6 [log] > Parsed audio,PTS:[101.957,107.973],DTS:[101.957/107.973],nb:282,dropped:0 2016-11-20 20:33:42.194 hls.02112016.min.js:6 [log] > Parsed video,PTS:[102.000,108.000],DTS:[102.000/108.000],nb:150,dropped:0 2016-11-20 20:33:42.194 hls.02112016.min.js:6 [log] > engine state transition from PARSING to PARSED 2016-11-20 20:33:42.195 hls.02112016.min.js:6 [log] > loading playlist for level 0 2016-11-20 20:33:42.199 hls.02112016.min.js:6 [log] > latency/loading/parsing/append/kbps:160/31309/530/5/84 2016-11-20 20:33:42.199 hls.02112016.min.js:6 [log] > main buffered : [0.005,107.973] 2016-11-20 20:33:42.200 hls.02112016.min.js:6 [log] > engine state transition from PARSED to IDLE 2016-11-20 20:33:42.200 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 120.000 2016-11-20 20:33:42.311 hls.02112016.min.js:6 XHR finished loading: GET "http://live3.twon.popler.tv/publishlive_edge2/smil:opera.smil/chunklist_b248000_slPL.m3u8".value @ hls.02112016.min.js:6value @ hls.02112016.min.js:6value @ hls.02112016.min.js:5value @ hls.02112016.min.js:5value @ hls.02112016.min.js:4value @ hls.02112016.min.js:4i.emit @ hls.02112016.min.js:1n.trigger @ hls.02112016.min.js:4value @ hls.02112016.min.js:2 2016-11-20 20:33:42.312 hls.02112016.min.js:6 [log] > live playlist, reload in 5883 ms 2016-11-20 20:33:42.312 hls.02112016.min.js:6 [log] > level 0 loaded [24465,24467],duration:18 2016-11-20 20:33:42.312 hls.02112016.min.js:6 [log] > live playlist sliding:126.000 2016-11-20 20:33:42.313 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:42.313 hls.02112016.min.js:6 [log] > playback not stuck anymore @102.015412 2016-11-20 20:33:43.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:44.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:45.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:46.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:47.195 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:48.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:49.193 hls.02112016.min.js:6 [log] > loading playlist for level 0 2016-11-20 20:33:49.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:50.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:50.194 hls.02112016.min.js:6 [log] > playback seems stuck @107.915438 2016-11-20 20:33:50.194 wideo.html:115 hls error=bufferStalledError 2016-11-20 20:33:51.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 126.000 2016-11-20 20:33:51.374 hls.02112016.min.js:6 XHR finished loading: GET "http://live3.twon.popler.tv/publishlive_edge2/smil:opera.smil/chunklist_b248000_slPL.m3u8".value @ hls.02112016.min.js:6value @ hls.02112016.min.js:6value @ hls.02112016.min.js:5value @ hls.02112016.min.js:5value @ hls.02112016.min.js:4value @ hls.02112016.min.js:4i.emit @ hls.02112016.min.js:1n.trigger @ hls.02112016.min.js:4value @ hls.02112016.min.js:2 2016-11-20 20:33:51.374 hls.02112016.min.js:6 [log] > live playlist, reload in 3819 ms 2016-11-20 20:33:51.374 hls.02112016.min.js:6 [log] > level 0 loaded [24466,24468],duration:18 2016-11-20 20:33:51.374 hls.02112016.min.js:6 [log] > live playlist sliding:132.000 2016-11-20 20:33:51.375 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 132.000 2016-11-20 20:33:52.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 132.000 2016-11-20 20:33:53.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 132.000 2016-11-20 20:33:54.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 132.000 2016-11-20 20:33:55.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 132.000 2016-11-20 20:33:56.193 hls.02112016.min.js:6 [log] > loading playlist for level 0 2016-11-20 20:33:56.194 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 132.000 2016-11-20 20:33:56.324 hls.02112016.min.js:6 XHR finished loading: GET "http://live3.twon.popler.tv/publishlive_edge2/smil:opera.smil/chunklist_b248000_slPL.m3u8".value @ hls.02112016.min.js:6value @ hls.02112016.min.js:6value @ hls.02112016.min.js:5value @ hls.02112016.min.js:5value @ hls.02112016.min.js:4value @ hls.02112016.min.js:4i.emit @ hls.02112016.min.js:1n.trigger @ hls.02112016.min.js:4value @ hls.02112016.min.js:2 2016-11-20 20:33:56.325 hls.02112016.min.js:6 [log] > live playlist, reload in 5869 ms 2016-11-20 20:33:56.325 hls.02112016.min.js:6 [log] > level 0 loaded [24468,24470],duration:18 2016-11-20 20:33:56.325 hls.02112016.min.js:6 [log] > live playlist sliding:144.000 2016-11-20 20:33:56.325 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:33:57.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:33:58.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:33:59.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:34:00.192 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:34:01.192 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:34:02.193 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:34:03.192 hls.02112016.min.js:6 [log] > loading playlist for level 0 2016-11-20 20:34:03.194 hls.02112016.min.js:6 [log] > buffer end: 107.973 is located too far from the end of live sliding playlist, reset currentTime to : 144.000 2016-11-20 20:34:03.918 hls.02112016.min.js:6 XHR finished loading: GET "http://live3.twon.popler.tv/publishlive_edge2/smil:opera.smil/chunklist_b248000_slPL.m3u8".value @ hls.02112016.min.js:6value @ hls.02112016.min.js:6value @ hls.02112016.min.js:5value @ hls.02112016.min.js:5value @ hls.02112016.min.js:4value @ hls.02112016.min.js:4i.emit @ hls.02112016.min.js:1n.trigger @ hls.02112016.min.js:4value @ hls.02112016.min.js:2
thanks @popler, unfortunately these are not logs from scratch. thus I don't have the global context to undertstand what is going on ... would you mind retrying another time ? please share full logs as https://gist.github.com as current formatting is a bit broken.
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.