Comments (23)
bum, it could be related to the screen fixes for the stagevideo fixes :(
from flash.
i was guessing it was about events, like some event missing to fire. I think you made changes to those?
from flash.
i moved the display adding out of the bufferfull event to the start event as it was removing it from the stage and adding back to the stage after each seek.
from flash.
better video to use perhaps ? Its preloading the video before playback.
from flash.
ok i see the issue , well start events arent dispatched so thats why it's not displaying, its trying to play the resolving stream wierd.
from flash.
I worked it out, the http files being checked need to be cached busted, its hard to explain but will start the resolved clip once it's being checked to work properly. Ive now just realised I probably need to clean up this fix in the screen. but on further discovery there is duplicated init code on the display as its already happening in the handleStart method
same as
I don't quite get that bit sorry but I'll put it within the onStart method perhaps so there is just one start listener.
from flash.
How about this is it still doing the same thing
private function onStart(event:ClipEvent):void {
var clip:Clip = event.target as Clip;
if (clip.metaData == false) return;
handleStart(clip, event.info as Boolean);
if (clip.type == ClipType.IMAGE) {
showDisplay(event);
}
if (clip.type == ClipType.VIDEO) {
var disp:MediaDisplay = _displays[clip];
if (! disp) return;
disp.init(clip);
if (clip.live) {
showDisplay(event);
}
}
}
from flash.
It's in just lemme know what works best. The cluster changes are in I suspect it's a new flash player quirk attempting to replay the same file partially in the cache on a different stream.
from flash.
Do you think that cache busting is needed, or would your Screen class changes fix this alone?
Just worried about side effects caused by that cache busting param... Will test without a new cluster plugin first.
from flash.
Works for me every time now: http://ec2-50-16-32-151.compute-1.amazonaws.com/plugins/streaming/cluster.html
Did not update the cluster plugin yet.
@bbbo please also check, i think it was audio-only for you every time
from flash.
no luck so far, audio only in Firefox 15, Chrome 22 and IE9 (didn't test
that before, so it's not in the browser cache)
from flash.
Now updated the cluster plugin also, but it does not work yet.
from flash.
No well it wasn't dispatching start events hence why the display doesn't get added. It's needed because it will try to play the resolving file instead, and will just sit there downloading it and then buggering events up. You can see it in the resource monitor. The actual file being requested to play is sitting there pending. My main question is the code i've now moved to clean it up even needed as the other code in the start event is also hiding other displays and adding the current display. It causes more chaos with the stagevideo otherwise because its adding and removing the video object from the stage after each seek if its in a bufferfull event.
from flash.
its working for me.
from flash.
Yeah it looks like the Screen class would need some cleaning up. I will test this a bit locally.
For me the 2nd demo has the problem after following sequence:
- start player in the 1st demo
- start player in the 2nd demo
- start player in the 1st demo
- start player in the 2nd demo ---> now there is no video
from flash.
Which resource monitor you are referring to?
from flash.
Should be fixed now. The workaround for the missing onBegin event is in the StreamProviderController class.
@danrossi any ideas why onBegin is not fired here?
from flash.
Sorry guys I was down with the flu, is this still a problem ? The screen changes cleaner now ? Was the listener also required in the streamprovider for a reason ? Do you now not see onBegin being dispatched ?
from flash.
Hmm there was some changes to the begin dispatching but it seems they were lost hmmm, it's to prevent begin being dispatched many times and to dispatch if the player is in paused mode.
http://code.google.com/p/flowplayer-core/issues/detail?id=629
http://code.google.com/p/flowplayer-core/issues/detail?id=615
I'll put them through to have a look thanks.
from flash.
And in terms of this problem, if you can see, it's using the netstream in the cluster plugin from the looks of it for playback but downloading the file for a very long time therefore no events are being dispatched from the main netstream. The cache buster works around that if its due to play back the same file. I think it's a flash player bug if loading up multiple connections / streams at once.
from flash.
we just made a new release :-) Right now it works around the missing onBegin event, see the change in StreamProviderController.
from flash.
//#15 add cache busting to the file being checked for availability to play back correctly once resolving has completed.
_netStream.play(_clip.getResolvedUrl(this));
looks like it didn't merge properly or didn't go in, it's still a problem on my end without it. Is that correct ?
from flash.
https://dl.dropbox.com/u/3394987/clusterissue.png
from flash.
Related Issues (20)
- Support multi-channel of audio HOT 7
- Flowplayer logs HOT 3
- Incorrect byte range request
- js controls: do not work on iPad HOT 8
- LiveRail Plugins SWF doesnt works with HTTPS HOT 1
- Is there a way to configure options globally in a page? HOT 1
- Switching a playback in midstream shows only a black screen (audio works) HOT 10
- playhead does not move with controlbar autoHide unset HOT 1
- RTMP: onBeforeFinish fired twice
- Error: Call to a possibly undefined method UpButton
- Pause event fired on video finish
- allow exceptions for external plugins
- Live audio doesnt play in IE10
- Flowplayer Flash: Corner case issue with playback of short videos
- Upgrade Google Analytics Classic to Universal HOT 8
- A bug in "get playerBaseUrl" or a bug in "getDomainEnd" ?
- Flowplayer bypasses Adobe Flash Media server protection HOT 1
- How can I use class instead of ID? I have more than one HOT 8
- i want to use httpstreaming
- Javascript API throws "invalid exception" during RTMP livestream
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 flash.