flowplayer / flash

Flowplayer Flash, the video player for the Web
http://flowplayer.org
283 stars 183 forks source link

cluster + Chrome PepperFlash: endless loop #177

Open phloxic opened 10 years ago

phloxic commented 10 years ago

Detected while testing #101

Both http://flash.flowplayer.org/plugins/streaming/cluster.html (current release) and http://flash.dev94.flowplayer.us/plugins/streaming/cluster.html (devel) do not work in Chrome - endless loop. Can be "solved" by disabling the PepperFlash plugin - but it is enabled by default, so not a real solution. Standalone demos might be easier to diagnose: http://flash.dev94.flowplayer.us/demos/standalone/plugins/streaming/cluster-http.html http://flash.flowplayer.org/demos/standalone/plugins/streaming/cluster-http.html

Similarly http://flash.dev94.flowplayer.us/demos/standalone/plugins/streaming/clustering.html http://flash.flowplayer.org/demos/standalone/plugins/streaming/clustering.html

Further diagnosis: At http://flash.dev94.flowplayer.us/demos/standalone/plugins/streaming/cluster-loadbalance.html and http://flash.flowplayer.org/demos/standalone/plugins/streaming/cluster-loadbalance.html Chrome PepperFlash consistently chooses the 2nd item in the hosts array whereas standard Flash consistently chooses the 1st item. This is not fatal, but both engines should choose the same item.

phloxic commented 10 years ago

Addendum: while hddn currently is slow, it is not at fault for this bug - I came across it while migrating demos to cloudfront, and it persists. It is caused by PepperFlash only.

bbbo commented 10 years ago

hmm, http://flash.dev94.flowplayer.us/plugins/streaming/cluster.html works for me with Pepper Flash only... and with both pepper and Adobe Flash enabled

anssip commented 10 years ago

will try to fix this for 3.2.17

phloxic commented 10 years ago

Here definitely PepperFlash is the culprit.

danrossi commented 10 years ago

Hmm the demo uses http not rtmp. There was a specific issue with caching where it would hang and sit in pending on playback. I'm pretty sure that was fixed up. Fine with me on pepper flash.

phloxic commented 10 years ago

This is what I get: cluster-http

phloxic commented 10 years ago

@bbbo - does this work for you now? It does for me. Although the 2 plugins in Chrome read the array in reverse order - why? - You never know with Chrome.

phloxic commented 10 years ago

hm, sometimes it works, sometimes it does not ...

bbbo commented 10 years ago

always worked for me in Chrome with Pepper Flash.