AIR 20, 21, 22 StageVideo Flex Mobile IOS - Will not Play but AIR 19, 18, 17 . . . OK
Our IOS Flexmobile project has played StageVideo beautifully for many year and Air updates. That's until we created a new version with AIR 20, ( and 21, 22Beta )
No code changes were made to the AIR 19 SDK version which plays stage video perfectly.
Here's the fault:
StageVideoAvailabilityEvent returns "available".
So we try to attachNetStream but nothing.
However the StageVideoEvent.RENDER_STATE returns StageVideo Render Status (software/hardware): unavailable
( StageVideoEvent.RENDER_STATE event.codecInfo was null and event.colorSpace was "Unknown" )
We use vimeo pro for the video and are compiling on Windows with FB 4.7.
The IPAD 2 is running IOS 9.2
We're using bog standard StageVideo code :
protected function onStageVideoAvailable(event:StageVideoAvailabilityEvent):void
{
if (event.availability == "available")
{
stage.removeEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, onStageVideoAvailable);
sv = stage.stageVideos[0];
sv.attachNetStream(ns);
sv.addEventListener(StageVideoEvent.RENDER_STATE, onRenderState);
sv.viewPort = new Rectangle(point.x, point.y, kvidFrame.videoWidth, kvidFrame.videoHeight);
stageVideoSetup = true;
if(ns){
ns.play(getSourceDef(videoToPlayVid));
this.setStyle('backgroundAlpha', '0.0')
}
. . . .
