-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Live playback fails to start in Chrome Canary (v43) #428
Comments
got the same issue. Turned out that in Canary v.43 videoElement.currentTime cannot be set if MediaSource.duration has been set to Infinity (we do this in live streams). If I set some non-infinite value, e.g. 9999999999, then videoElement.currentTime can be set and video plays fine. |
Yes - I just tried Number.MAX_VALUE and that works as a work around, but the HTML5 spec is very clear that Infinity is the correct value to use when the duration is unknown [1]. So I agree this appears to be a browser bug. I have just tested it in Firefox Nightly and the same workaround does not appear to fix the problem. I'll raise a bug against Firefox. [1] http://www.w3.org/TR/html5/embedded-content-0.html#dom-media-duration |
@bbcrddave would you mind also filing a bug against chromium on this subject? |
@bbcrddave, thanks for taking care of this! I am closing the issue. |
same problem on stable chrome 41.0.2272.76 (64-bit) |
how can i use the workaround Number.MAX_VALUE ? |
@arpu Line 263 of DashManifestExtensions. |
@AkamaiDASH thx this works fine as workaround but |
@arpu I think if that is the case then Number.POSITIVE_INFINITY was not used in 1.2.0 an introduce in 1.3.0 were you patched. |
@AkamaiDASH its used in 1.2 too |
I am going to push the MAX_VALUE workaround into dev branch. we can not wait for chrome to fix and leave live streaming broken. |
I've updated the chromium bug. https://code.google.com/p/chromium/issues/detail?id=461733#c14 TLDR: I think chromium is behaving to spec. In those comments I suggest a workaround that should allow dash.js to avoid the infinite duration hack. If you agree with my take, I'd like to re-open this bug on dash.js. @AkamaiDASH / @KozhinM what do you think? |
@chcunningham, thanks for the update. Just looked up the chromium bug. According to the latest comment ( |
I git the AkamaiDASH/dash.js of dash.js-development branch, still got problem in chrome Uncaught TypeError: Cannot read property 'startTime' of null |
Since Canary updated to 43.0.2312.0 this morning I have been unable to play any live streams with dash.js 1.3. These streams still play correctly in the latest version of Chrome (40.0.2214.115).
The live edge appears to be determined successfully but playback never commences. The console output is suspicious - the following is printed out constantly:
I have tried the following streams:
http://dash.bidi.int.bbc.co.uk/e/pseudolive/bbb/client_manifest.mpd (available internationally, delivered on a best-efforts basis)
http://vm2.dashif.org/livesim/testpic_2s/Manifest.mpd
This shows it is not just our streams, and not to do with the UTCTiming element 😌
It appears as if the video element's currentTime is not being seeked to the live edge, stays at 0 and that leads to no segments being downloaded, but I haven't looked in too much detail. I can only assume that there is some race condition, or perhaps appending the initialisation segments no longer updates seekable.
Is anyone else seeing this, or am I missing something?
The text was updated successfully, but these errors were encountered: