Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.09k stars 1.67k forks source link

Mac OS Safari: does not play until end #694

Closed phloxic closed 9 years ago

phloxic commented 9 years ago

Demo: http://demos.flowplayer.org/api/dash.html In Mac OS Safari playback stalls - video tag triggers ended - before the clip is played entirely. No problems in Chrome.

dsparacio commented 9 years ago

@blacktrash thanks for the report. Also good to know that Flowplayer is using Dash.js. There are a few changes in the works around safari so Ill leave this open to track but may get resolved by other issue numbers.

phloxic commented 9 years ago

@AkamaiDASH - you're welcome. FYI, I notice nice progress: it seems that seeking in paused state doesn't trigger an automatic resume of playback anymore. Just testing whether we can remove a couple of hacks working around this in our plugin.

phloxic commented 9 years ago

@AkamaiDASH - I believe 25214e31556bb1122dbc0a4bc6499976cb2bfb19 fixed the problem.

phloxic commented 9 years ago

Unfortunately I spoke too soon again. The latest revisions seem to have a problem with firing the ended event, it's often not triggered (can be noticed with playlist transitions).

phloxic commented 9 years ago

Yup. Everything works when I test impatiently and seek towards the end of the video, but if the stream is played through I get messages like:

[audio] Getting the request for time: 67.899999 
flowplayer.mpegdash.min.js:29 [audio] Index for time 67.899999 is -1 

and ended is never fired.

phloxic commented 9 years ago

Does not happen with e33b1c7a04ee - which has the more pronounced Safari problem.

KozhinM commented 9 years ago

@blacktrash, did #740 fix this one as well?

phloxic commented 9 years ago

@KozhinM - yes, this can be closed. Thank you.