Comments (5)
Update : I have being messing around with the logs and I noticed I was getting a "FRAG_LOOP_LOADING_ERROR" in my event function I try to recover from this which stops the error from happening again and it seems to fix the fragments getting requested twice. Although I am still getting no video played. Please help.
from hls.js.
if you could provide full debug logs, that would help
from hls.js.
Hey there, here is the log. There is no real indication of an error. This log matches the same log as in firefox which works fine. Although the network requests look different. It looks as though Chrome is making a duplicate request for a segment where firefox is not.
Building video Tag
Video tag Attached
START STREAMING:http://bw103.attheraces.com/hls/event/82889/1/0/livepkgr_e111/151118_UKHGDR…hls-live&etime=20151118120417&grs=g131&key=yOM9nXKTGaZvMJHX3dZi%2fE%2bmhw8
loadSource:http://bw103.attheraces.com/hls/event/82889/1/0/livepkgr_e111/151118_UKHGDR…hls-live&etime=20151118120417&grs=g131&key=yOM9nXKTGaZvMJHX3dZi%2fE%2bmhw8
attachVideo
media source opened
manifest loaded,3 level(s) found, first bitrate:200000
demuxing in webworker
switching to level 0
(re)loading playlist for level 0
SHOULD BE PLAYING:
startLoad
demuxing in webworker
switching to level 0
(re)loading playlist for level 0
level 0 loaded [23009,23013],duration:10
live playlist - first load, unknown sliding
Loading 23011 of [23009 ,23013],level 0, currentTime:4,bufferEnd:4.000
level 0 loaded [23009,23013],duration:10
live playlist - outdated PTS, unknown sliding
Demuxing 23011 of [23009 ,23013],level 0
selected A/V codecs for sourceBuffers:mp4a.40.5,avc1.4d401f
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/4.631/6.031/4.631/6.031/35
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/4.000/5.997/4.000/5.997/86
video buffered :
switching to level 2
(re)loading playlist for level 2
level 2 loaded [23009,23013],duration:10
live playlist - first load, unknown sliding
live playlist, switching playlist, load frag with next SN: 23012
Loading 23012 of [23009 ,23013],level 2, currentTime:4,bufferEnd:4.000
level 2 loaded [23011,23015],duration:10
live playlist - outdated PTS, unknown sliding
loading too slow, abort fragment loading
fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :145.6/0.0/45.6
switching to level 0
(re)loading playlist for level 0
Loading 23010 of [23009 ,23013],level 0, currentTime:4,bufferEnd:4.000
level 0 loaded [23011,23015],duration:10
live playlist sliding:4.631
Demuxing 23010 of [23011 ,23015],level 0
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/2.031/4.031/2.031/4.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/2.003/4.000/2.003/4.000/86
video buffered :
switching to level 2
(re)loading playlist for level 2
live playlist, switching playlist, load frag with next SN: 23011
Loading 23011 of [23011 ,23015],level 2, currentTime:4,bufferEnd:4.000
level 2 loaded [23011,23015],duration:10
live playlist - outdated PTS, unknown sliding
Demuxing 23011 of [23011 ,23015],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/4.631/6.031/4.631/6.031/35
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/4.000/5.997/4.000/5.997/86
video buffered :
buffer end: 4 is located too far from the end of live sliding playlist, media position will be reseted to: 8.631
Loading 23013 of [23011 ,23015],level 2, currentTime:4,bufferEnd:8.631
loading too slow, abort fragment loading
fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :206.7/0.0/64.7
switching to level 0
(re)loading playlist for level 0
buffer end: 4 is located too far from the end of live sliding playlist, media position will be reseted to: 8.631
Loading 23013 of [23011 ,23015],level 0, currentTime:4,bufferEnd:8.631
level 0 loaded [23013,23017],duration:10
live playlist sliding:7.997
level 0 loaded [23014,23018],duration:10
live playlist sliding:9.997
Demuxing 23013 of [23014 ,23018],level 0
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/8.631/10.031/8.631/10.031/35
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/8.017/10.014/8.017/10.014/86
video buffered :
switching to level 2
(re)loading playlist for level 2
Loading 23013 of [23011 ,23015],level 2, currentTime:8.631,bufferEnd:8.631
seeking outside of buffer while fragment load in progress, cancel fragment load
Loading 23013 of [23011 ,23015],level 2, currentTime:8.631,bufferEnd:8.631
level 2 loaded [23013,23017],duration:10
live playlist sliding:7.997
level 2 loaded [23013,23017],duration:10
live playlist sliding:7.997
loading too slow, abort fragment loading
fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :79.8/0.0/25.0
switching to level 0
(re)loading playlist for level 0
buffer end: 8.631 is located too far from the end of live sliding playlist, media position will be reseted to: 13.997
Loading 23016 of [23014 ,23018],level 0, currentTime:8.631,bufferEnd:13.997
level 0 loaded [23015,23019],duration:10
live playlist sliding:11.997
Demuxing 23016 of [23015 ,23019],level 0
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/14.031/16.031/14.031/16.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/14.008/16.005/14.008/16.005/86
video buffered :
switching to level 1
(re)loading playlist for level 1
level 1 loaded [23015,23019],duration:10
live playlist - first load, unknown sliding
live playlist, switching playlist, load frag with next SN: 23017
Loading 23017 of [23015 ,23019],level 1, currentTime:10,bufferEnd:10.000
Demuxing 23017 of [23015 ,23019],level 1
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/16.597/17.997/16.597/17.997/35
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/16.005/18.014/16.005/18.014/86
video buffered :
switching to level 2
(re)loading playlist for level 2
Loading 23014 of [23013 ,23017],level 2, currentTime:10,bufferEnd:10.000
level 2 loaded [23016,23020],duration:10
live playlist sliding:13.997
Demuxing 23014 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/10.631/12.031/10.631/12.031/35
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/10.014/12.011/10.014/12.011/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 17.997
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:17.997
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:video/18.031/20.031/18.031/20.031/50
parsed data, type/startPTS/endPTS/startDTS/endDTS/nb:audio/18.002/19.999/18.002/19.999/86
video buffered :
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
SN just loaded, load next one: 23019
Loading 23019 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
seeking outside of buffer while fragment load in progress, cancel fragment load
buffer end: 10 is located too far from the end of live sliding playlist, media position will be reseted to: 18.031
Loading 23018 of [23016 ,23020],level 2, currentTime:10,bufferEnd:18.031
Demuxing 23018 of [23016 ,23020],level 2
from hls.js.
from the logs, we can see segments being appended to the sourceBuffers, but this seems to have no effect on video.buffered, which remains empty, as can be seen from the following log :
video buffered :
=> it means that either :
- Chrome does not understand/parse correctly the appended segments
- hls.js does not append valid segments to Chrome
- although this playlist seems to work properly on FF... but there might be some subtle differences in the way browsers interpret fMP4 segments
could you provide the output of chrome://media-internals ?
that might provide more insights.
best would be to get a snapshot of your stream.
from hls.js.
outdated, closing, feel free to reopen if still reproducible
from hls.js.
Related Issues (20)
- Error after playing for a while (bufferAppendError) HOT 3
- How to see the version ? HOT 2
- Cannot use gain node in safari HOT 7
- bufferAppendError HOT 3
- capLevelToPlayerSize does not cap first level when startLevel is -1 HOT 3
- Automatic level selection doesn't work properly when I use hls.light.js
- The same m3u8 url plays well on the PC, but an error is reported on the mobile edge: no EXTM3U delimiter HOT 3
- Hls.js on iOS > 17.1 (Simulator) HOT 5
- Hdhomerun stream support HOT 1
- Integrate SVTA Common Media Library's ID3 utilities HOT 3
- hls.js stalls shortly on audio buffer gap HOT 5
- Playback doesn't start if `startLevel` config param value is greater than available number of levels HOT 4
- How to detect current stream is an audio only stream? HOT 3
- In iPad the buffer doesn't seem to fetch further fragments as defined by maxBufferLength HOT 3
- `hls.stopLoad` follow by `hls.startLoad` will throw error HOT 11
- Duration is occasionally showing as double when upgrading from 1.2.0 to 1.2.1 HOT 2
- Can I directly load the content of the m3u8 file instead of requesting the m3u8 url to get the content? HOT 3
- ManagedMediaSource + disableRemotePlayback in Safari HOT 7
- How to prevent an error that xhrSetup throws after package migration to v1.5.0? HOT 1
- EXT-X-DATERANGE metadata synchronisation vs video stream in presence of frequent EXT-X-DISCONTINUITYs HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hls.js.