Highlighted

Bizarre Android VideoTexture / VideoTextureSurface bug - OS X and iOS work fine

Participant ,
Nov 29, 2016

Copy link to clipboard

Copied

Hi all,

We've recently been experimenting with using VideoTexture (via Starling Texture.FromNetStream) to render HLS,H264,AAC video supplied by the mangui flashls library.

Works fine on desktop, also works fine on iOS (when using native HLS, not flashls)

On Android, we can hear the AAC sound but instead of seeing the video, we see a miniature copy of the entire displaylist based interface! The colours don't look right, but it actually updates in real time as the play position moves along the seek bar.

Having enabled error logging on the Context3D we see this stack trace:

W/System.err( 6961): java.lang.NoSuchMethodError: no method with name='getHeight' signature='()I' in class Lcom/adobe/flashruntime/air/VideoTextureSurface;

W/System.err( 6961):     at com.adobe.air.customHandler.callTimeoutFunction(Native Method)

W/System.err( 6961):     at com.adobe.air.customHandler.handleMessage(customHandler.java:22)

W/System.err( 6961):     at android.os.Handler.dispatchMessage(Handler.java:102)

W/System.err( 6961):     at android.os.Looper.loop(Looper.java:146)

W/System.err( 6961):     at android.app.ActivityThread.main(ActivityThread.java:5602)

W/System.err( 6961):     at java.lang.reflect.Method.invokeNative(Native Method)

W/System.err( 6961):     at java.lang.reflect.Method.invoke(Method.java:515)

W/System.err( 6961):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)

W/System.err( 6961):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

W/System.err( 6961):     at dalvik.system.NativeStart.main(Native Method)

Has anyone else seen an error like this? We are using the latest AIR 23.

Cheers,

Dave

Ok - this is fixed in Air 24 beta.

TOPICS
Performance issues

Views

312

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Bizarre Android VideoTexture / VideoTextureSurface bug - OS X and iOS work fine

Participant ,
Nov 29, 2016

Copy link to clipboard

Copied

Hi all,

We've recently been experimenting with using VideoTexture (via Starling Texture.FromNetStream) to render HLS,H264,AAC video supplied by the mangui flashls library.

Works fine on desktop, also works fine on iOS (when using native HLS, not flashls)

On Android, we can hear the AAC sound but instead of seeing the video, we see a miniature copy of the entire displaylist based interface! The colours don't look right, but it actually updates in real time as the play position moves along the seek bar.

Having enabled error logging on the Context3D we see this stack trace:

W/System.err( 6961): java.lang.NoSuchMethodError: no method with name='getHeight' signature='()I' in class Lcom/adobe/flashruntime/air/VideoTextureSurface;

W/System.err( 6961):     at com.adobe.air.customHandler.callTimeoutFunction(Native Method)

W/System.err( 6961):     at com.adobe.air.customHandler.handleMessage(customHandler.java:22)

W/System.err( 6961):     at android.os.Handler.dispatchMessage(Handler.java:102)

W/System.err( 6961):     at android.os.Looper.loop(Looper.java:146)

W/System.err( 6961):     at android.app.ActivityThread.main(ActivityThread.java:5602)

W/System.err( 6961):     at java.lang.reflect.Method.invokeNative(Native Method)

W/System.err( 6961):     at java.lang.reflect.Method.invoke(Method.java:515)

W/System.err( 6961):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)

W/System.err( 6961):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

W/System.err( 6961):     at dalvik.system.NativeStart.main(Native Method)

Has anyone else seen an error like this? We are using the latest AIR 23.

Cheers,

Dave

Ok - this is fixed in Air 24 beta.

TOPICS
Performance issues

Views

313

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 29, 2016 0
Participant ,
Nov 29, 2016

Copy link to clipboard

Copied

Ok - this is fixed in Air 24 beta.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2016 0