Getting Error When Trying to Load an Animated Website with Background Video Player #2316
Open
2 tasks done
Labels
bug
Something isn't working
Environment
Device information:
MITV MOOR2
API Level = 30
Description
I am trying to run a website using this package on Android TV, but I am encountering an animation error. The animations do not work smoothly, and the background video is also not functioning.
Expected behavior:
Animations and video should play smoothly.
Current behavior:
│ ⛔ ERROR: Received Error: Status Code: 493271885, Message: net::ERR_FAILED, URL:
Steps to reproduce
Stacktrace/Logcat
D/SurfaceUtils( 7166): disconnecting from surface 0x6f434808, reason disconnectFromSurface
D/MediaCodec( 7166): flushMediametrics
D/MediaCodec( 7166): flushMediametrics
I/dia.lotus.lotu( 7166): NativeAlloc concurrent copying GC freed 7399(388KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 3712KB/7424KB, paused 114us total 128.091ms
W/cr_MediaCodecBridge( 7166): Releasing: OMX.MS.AVC.Decoder
D/SurfaceUtils( 7166): connecting to surface 0x6946cc08, reason connectToSurface
I/MediaCodec( 7166): [OMX.MS.AVC.Decoder] setting surface generation to 7338012
D/SurfaceUtils( 7166): disconnecting from surface 0x6946cc08, reason connectToSurface(reconnect)
D/SurfaceUtils( 7166): connecting to surface 0x6946cc08, reason connectToSurface(reconnect)
D/SurfaceUtils( 7166): disconnecting from surface 0x6946cc08, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): connecting to surface 0x6946cc08, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): set up nativeWindow 0x6946cc08 for 1280x720, color 0x15, rotation 0, usage 0x402930
D/SurfaceUtils( 7166): disconnecting from surface 0x6f2f1c08, reason disconnectFromSurface
W/cr_MediaCodecBridge( 7166): Codec released
D/SurfaceUtils( 7166): disconnecting from surface 0x6946cc08, reason disconnectFromSurface
D/MediaCodec( 7166): flushMediametrics
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onLoadStart" using {url: https://lotus-dev.codegarage.in/template/animation-template/9}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onUpdateVisitedHistory" using {isReload: true, url: https://lotus-dev.codegarage.in/template/animation-template/9}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onProgressChanged" using {progress: 22}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onTitleChanged" using {title: API integration in Dynamic Animation Template}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onProgressChanged" using {progress: 35}
D/MediaCodec( 7166): flushMediametrics
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onProgressChanged" using {progress: 42}
I/chromium( 7166): [INFO:CONSOLE(76)] "Uncaught ReferenceError: jsonData is not defined", source: https://lotus-dev.codegarage.in/template/animation-template/9 (76)
I/dia.lotus.lotu( 7166): NativeAlloc concurrent copying GC freed 1294(128KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 3729KB/7458KB, paused 128us total 118.130ms
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 3, message: Uncaught ReferenceError: jsonData is not defined}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onProgressChanged" using {progress: 100}
I/chromium( 7166): [INFO:CONSOLE(123)] "Fetched jsonData: [object Object]", source: https://lotus-dev.codegarage.in/template/animation-template/9 (123)
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onProgressChanged" using {progress: 100}
I/chromium( 7166): [INFO:CONSOLE(138)] "data slick______ [object Object]", source: https://lotus-dev.codegarage.in/template/animation-template/9 (138)
I/chromium( 7166): [INFO:CONSOLE(145)] "disclaimerData [object Object]", source: https://lotus-dev.codegarage.in/template/animation-template/9 (145)
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onLoadStop" using {url: https://lotus-dev.codegarage.in/template/animation-template/9}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 1, message: Fetched jsonData: [object Object]}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 1, message: data slick______ [object Object]}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 1, message: disclaimerData [object Object]}
I/chromium( 7166): [INFO:CONSOLE(589)] "jsonData fade", source: https://lotus-dev.codegarage.in/template/animation-template/9 (589)
I/chromium( 7166): [INFO:CONSOLE(594)] "Transition Speeds: 0.5s,0.5s,0.5s,0.5s,0.5s,0.5s,0.5s", source: https://lotus-dev.codegarage.in/template/animation-template/9 (594)
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 1, message: jsonData fade}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 1, message: Transition Speeds: 0.5s,0.5s,0.5s,0.5s,0.5s,0.5s,0.5s}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onPageCommitVisible" using {url: https://lotus-dev.codegarage.in/template/animation-template/9}
I/cr_MediaCodecBridge( 7166): create MediaCodec video decoder, mime video/avc, decoder name OMX.MS.AVC.Decoder
I/OMXClient( 7166): IOmx service obtained
I/MediaCodec( 7166): MediaCodec will operate in async mode
D/MediaCodec( 7166): flushMediametrics
D/SurfaceUtils( 7166): connecting to surface 0x6ef9b008, reason connectToSurface
I/MediaCodec( 7166): [OMX.MS.AVC.Decoder] setting surface generation to 7338013
D/SurfaceUtils( 7166): disconnecting from surface 0x6ef9b008, reason connectToSurface(reconnect)
D/SurfaceUtils( 7166): connecting to surface 0x6ef9b008, reason connectToSurface(reconnect)
E/ACodec ( 7166): [OMX.MS.AVC.Decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010
D/SurfaceUtils( 7166): disconnecting from surface 0x6ef9b008, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): connecting to surface 0x6ef9b008, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): set up nativeWindow 0x6ef9b008 for 1920x1080, color 0x13, rotation 0, usage 0x402930
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 7 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 6 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 5 failed: -22
I/cr_MediaCodecBridge( 7166): create MediaCodec video decoder, mime video/avc, decoder name OMX.MS.AVC.Decoder
I/OMXClient( 7166): IOmx service obtained
I/MediaCodec( 7166): MediaCodec will operate in async mode
D/MediaCodec( 7166): flushMediametrics
D/SurfaceUtils( 7166): connecting to surface 0x6ef9cc08, reason connectToSurface
I/MediaCodec( 7166): [OMX.MS.AVC.Decoder] setting surface generation to 7338014
D/SurfaceUtils( 7166): disconnecting from surface 0x6ef9cc08, reason connectToSurface(reconnect)
D/SurfaceUtils( 7166): connecting to surface 0x6ef9cc08, reason connectToSurface(reconnect)
E/ACodec ( 7166): [OMX.MS.AVC.Decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010
D/SurfaceUtils( 7166): disconnecting from surface 0x6ef9b008, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): connecting to surface 0x6ef9b008, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): set up nativeWindow 0x6ef9b008 for 1920x1088, color 0x15, rotation 0, usage 0x402930
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 7 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 6 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 5 failed: -22
D/SurfaceUtils( 7166): disconnecting from surface 0x6ef9cc08, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): connecting to surface 0x6ef9cc08, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): set up nativeWindow 0x6ef9cc08 for 1920x1080, color 0x13, rotation 0, usage 0x402930
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 7 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 6 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 5 failed: -22
I/cr_MediaCodecBridge( 7166): create MediaCodec video decoder, mime video/avc, decoder name OMX.MS.AVC.Decoder
I/OMXClient( 7166): IOmx service obtained
E/ACodec ( 7166): Unable to instantiate codec 'OMX.MS.AVC.Decoder' with err 0xfffffff4.
E/ACodec ( 7166): signalError(omxError 0xfffffff4, internalError -12)
E/MediaCodec( 7166): Codec reported err 0xfffffff4, actionCode 0, while in state 1
D/MediaCodec( 7166): flushMediametrics
W/MediaCodec-JNI( 7166): try to release MediaCodec from JMediaCodec::~JMediaCodec()...
W/MediaCodec-JNI( 7166): done releasing MediaCodec from JMediaCodec::~JMediaCodec().
E/cr_MediaCodecUtil( 7166): Failed to create MediaCodec by decoder name OMX.MS.AVC.Decoder
E/cr_MediaCodecUtil( 7166): android.media.MediaCodec$CodecException: Failed to initialize OMX.MS.AVC.Decoder, error 0xfffffff4
E/cr_MediaCodecUtil( 7166): at android.media.MediaCodec.native_setup(Native Method)
E/cr_MediaCodecUtil( 7166): at android.media.MediaCodec.(MediaCodec.java:1912)
E/cr_MediaCodecUtil( 7166): at android.media.MediaCodec.createByCodecName(MediaCodec.java:1890)
E/cr_MediaCodecUtil( 7166): at org.chromium.media.MediaCodecBridgeBuilder.createVideoDecoder(chromium-TrichromeWebViewGoogle.aab-stable-666807030:7)
I/cr_MediaCodecBridge( 7166): create MediaCodec video decoder, mime video/avc, decoder name OMX.MS.AVC.Decoder
I/OMXClient( 7166): IOmx service obtained
E/ACodec ( 7166): Unable to instantiate codec 'OMX.MS.AVC.Decoder' with err 0xfffffff4.
E/ACodec ( 7166): signalError(omxError 0xfffffff4, internalError -12)
E/MediaCodec( 7166): Codec reported err 0xfffffff4, actionCode 0, while in state 1
D/MediaCodec( 7166): flushMediametrics
W/MediaCodec-JNI( 7166): try to release MediaCodec from JMediaCodec::~JMediaCodec()...
W/MediaCodec-JNI( 7166): done releasing MediaCodec from JMediaCodec::~JMediaCodec().
E/cr_MediaCodecUtil( 7166): Failed to create MediaCodec by decoder name OMX.MS.AVC.Decoder
E/cr_MediaCodecUtil( 7166): android.media.MediaCodec$CodecException: Failed to initialize OMX.MS.AVC.Decoder, error 0xfffffff4
E/cr_MediaCodecUtil( 7166): at android.media.MediaCodec.native_setup(Native Method)
E/cr_MediaCodecUtil( 7166): at android.media.MediaCodec.(MediaCodec.java:1912)
E/cr_MediaCodecUtil( 7166): at android.media.MediaCodec.createByCodecName(MediaCodec.java:1890)
E/cr_MediaCodecUtil( 7166): at org.chromium.media.MediaCodecBridgeBuilder.createVideoDecoder(chromium-TrichromeWebViewGoogle.aab-stable-666807030:7)
D/SurfaceUtils( 7166): disconnecting from surface 0x6ef9cc08, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): connecting to surface 0x6ef9cc08, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 7166): set up nativeWindow 0x6ef9cc08 for 1920x1088, color 0x15, rotation 0, usage 0x402930
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 7 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 6 failed: -22
W/ACodec ( 7166): [OMX.MS.AVC.Decoder] setting nBufferCountActual to 5 failed: -22
The text was updated successfully, but these errors were encountered: