Does VideoTexture already works fine with Async?
Hi,
I grabbed the latest version of AIR 24 beta and the Starling's commit for Async upload https://github.com/Gamua/Starling-Framework/commit/073f81566cf4938ed041a6fcdd9c986f4cbaa1de.
I set the skipUnchangedFrames to false;. I'm playing a video texture while I'm uploading textures via Asset Manager and I see some strange artefacts on screen with iOS.
Does VideoTexture already supports async upload on iOS? It seems I don't have the problem on Android.
In my Main:
_videoIntro = new VideoIntro();
_starling.stage.addChild(_videoIntro);
assetManager = new AssetManager(textureScaleFactor);
assetManager.enqueue(File.applicationDirectory.resolvePath(StringUtil.format("assets/{0}/", textureScaleFactor)));
assetManager.loadQueue(function(ratio:Number):void {...
My VideoIntro is mostly:
_nc = new NetConnection();
_nc.connect(null);
var file:File = File.applicationDirectory.resolvePath("videos/Loading.mp4");
_ns = new NetStream(_nc);
var texture:Texture = Texture.fromNetStream(_ns, 1, function():void {
Starling.current.skipUnchangedFrames = false;
_img = new Image(texture);
addChild(_img);
});
_ns.play(file.url);
