Skip to content

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

@RoqueRueda

Description

@RoqueRueda

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions