Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Intro video fails to load due to incompatible codec. #1

Open
RoqueRueda opened this issue Jul 8, 2024 · 0 comments
Open

Comments

@RoqueRueda
Copy link

Issue Description

The current intro video doesn't work on Android devices. After investigation, it appears that this issue is due to the video file itself.

Behavior

  • iOS Simulator: Video loads and plays correctly
  • Android Emulator: Video doesn't load, screen remains white

Error Message

The following error appears in the Android logcat
ERROR: Unable to instantiate decoder c2.goldfish.h264.decoder

Investigation

I tested with a different video file, which worked correctly on both platforms. This suggests that the issue is specific to the current intro video file.

Proposed Solution

Replace the current intro video with one that has a compatible codec profile for both iOS and Android platforms.

Additional Information

This issue may be related to the video codec or profile used in the current intro video. Android devices, especially emulators, can be more sensitive to certain video formats and codecs.

Steps to Reproduce

  1. Run the app on an iOS simulator
  2. Verify that the intro video plays correctly
  3. Run the app on an Android emulator
  4. Observe that the intro video fails to load, showing a white screen instead

Environment

  • React Native version: 13.6.9
  • Expo version: 6.3.10
  • Android Emulator: pixel 5 api level 33
  • iOS Simulator version: iPhone SE (3rd generation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant